Class ListRotationShiftsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssmcontacts.model.SsmContactsRequest
-
- software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListRotationShiftsRequest.Builder,ListRotationShiftsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListRotationShiftsRequest extends SsmContactsRequest implements ToCopyableBuilder<ListRotationShiftsRequest.Builder,ListRotationShiftsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListRotationShiftsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListRotationShiftsRequest.Builderbuilder()InstantendTime()The date and time for the end of the time range to list shifts for.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of items to return for this call.StringnextToken()A token to start the list.StringrotationId()The Amazon Resource Name (ARN) of the rotation to retrieve shift information about.List<SdkField<?>>sdkFields()static Class<? extends ListRotationShiftsRequest.Builder>serializableBuilderClass()InstantstartTime()The date and time for the beginning of the time range to list shifts for.ListRotationShiftsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
rotationId
public final String rotationId()
The Amazon Resource Name (ARN) of the rotation to retrieve shift information about.
- Returns:
- The Amazon Resource Name (ARN) of the rotation to retrieve shift information about.
-
startTime
public final Instant startTime()
The date and time for the beginning of the time range to list shifts for.
- Returns:
- The date and time for the beginning of the time range to list shifts for.
-
endTime
public final Instant endTime()
The date and time for the end of the time range to list shifts for.
- Returns:
- The date and time for the end of the time range to list shifts for.
-
nextToken
public final String nextToken()
A token to start the list. Use this token to get the next set of results.
- Returns:
- A token to start the list. Use this token to get the next set of results.
-
maxResults
public final Integer maxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
- Returns:
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
-
toBuilder
public ListRotationShiftsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListRotationShiftsRequest.Builder,ListRotationShiftsRequest>- Specified by:
toBuilderin classSsmContactsRequest
-
builder
public static ListRotationShiftsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListRotationShiftsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-