@Generated(value="software.amazon.awssdk:codegen") public final class ListPreviewRotationShiftsRequest extends SsmContactsRequest implements ToCopyableBuilder<ListPreviewRotationShiftsRequest.Builder,ListPreviewRotationShiftsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListPreviewRotationShiftsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListPreviewRotationShiftsRequest.Builder |
builder() |
Instant |
endTime()
The date and time a rotation shift would end.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMembers()
For responses, this returns true if the service returned a value for the Members property.
|
boolean |
hasOverrides()
For responses, this returns true if the service returned a value for the Overrides property.
|
Integer |
maxResults()
The maximum number of items to return for this call.
|
List<String> |
members()
The contacts that would be assigned to a rotation.
|
String |
nextToken()
A token to start the list.
|
List<PreviewOverride> |
overrides()
Information about changes that would be made in a rotation override.
|
RecurrenceSettings |
recurrence()
Information about how long a rotation would last before restarting at the beginning of the shift order.
|
Instant |
rotationStartTime()
The date and time a rotation would begin.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListPreviewRotationShiftsRequest.Builder> |
serializableBuilderClass() |
Instant |
startTime()
Used to filter the range of calculated shifts before sending the response back to the user.
|
String |
timeZoneId()
The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format.
|
ListPreviewRotationShiftsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant rotationStartTime()
The date and time a rotation would begin. The first shift is calculated from this date and time.
public final Instant startTime()
Used to filter the range of calculated shifts before sending the response back to the user.
public final Instant endTime()
The date and time a rotation shift would end.
public final boolean hasMembers()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> members()
The contacts that would be assigned to a rotation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMembers() method.
public final String timeZoneId()
The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".
public final RecurrenceSettings recurrence()
Information about how long a rotation would last before restarting at the beginning of the shift order.
public final boolean hasOverrides()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<PreviewOverride> overrides()
Information about changes that would be made in a rotation override.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOverrides() method.
public final String nextToken()
A token to start the list. This token is used to get the next set of results.
public final Integer maxResults()
The maximum number of items to return for this call. The call also returns a token that can be specified in a subsequent call to get the next set of results.
public ListPreviewRotationShiftsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListPreviewRotationShiftsRequest.Builder,ListPreviewRotationShiftsRequest>toBuilder in class SsmContactsRequestpublic static ListPreviewRotationShiftsRequest.Builder builder()
public static Class<? extends ListPreviewRotationShiftsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.