Interface ListPreviewRotationShiftsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListPreviewRotationShiftsRequest.Builder,
,ListPreviewRotationShiftsRequest> SdkBuilder<ListPreviewRotationShiftsRequest.Builder,
,ListPreviewRotationShiftsRequest> SdkPojo
,SdkRequest.Builder
,SsmContactsRequest.Builder
- Enclosing class:
ListPreviewRotationShiftsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time a rotation shift would end.maxResults
(Integer maxResults) The maximum number of items to return for this call.The contacts that would be assigned to a rotation.members
(Collection<String> members) The contacts that would be assigned to a rotation.A token to start the list.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.overrides
(Collection<PreviewOverride> overrides) Information about changes that would be made in a rotation override.overrides
(Consumer<PreviewOverride.Builder>... overrides) Information about changes that would be made in a rotation override.overrides
(PreviewOverride... overrides) Information about changes that would be made in a rotation override.recurrence
(Consumer<RecurrenceSettings.Builder> recurrence) Information about how long a rotation would last before restarting at the beginning of the shift order.recurrence
(RecurrenceSettings recurrence) Information about how long a rotation would last before restarting at the beginning of the shift order.rotationStartTime
(Instant rotationStartTime) The date and time a rotation would begin.Used to filter the range of calculated shifts before sending the response back to the user.timeZoneId
(String timeZoneId) The time zone the rotation’s activity would be based on, in Internet Assigned Numbers Authority (IANA) format.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsRequest.Builder
build
-
Method Details
-
rotationStartTime
The date and time a rotation would begin. The first shift is calculated from this date and time.
- Parameters:
rotationStartTime
- The date and time a rotation would begin. The first shift is calculated from this date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
Used to filter the range of calculated shifts before sending the response back to the user.
- Parameters:
startTime
- Used to filter the range of calculated shifts before sending the response back to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The date and time a rotation shift would end.
- Parameters:
endTime
- The date and time a rotation shift would end.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
The contacts that would be assigned to a rotation.
- Parameters:
members
- The contacts that would be assigned to a rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
members
The contacts that would be assigned to a rotation.
- Parameters:
members
- The contacts that would be assigned to a rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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".
- Parameters:
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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
Information about how long a rotation would last before restarting at the beginning of the shift order.
- Parameters:
recurrence
- Information about how long a rotation would last before restarting at the beginning of the shift order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
default ListPreviewRotationShiftsRequest.Builder recurrence(Consumer<RecurrenceSettings.Builder> recurrence) Information about how long a rotation would last before restarting at the beginning of the shift order.
This is a convenience method that creates an instance of theRecurrenceSettings.Builder
avoiding the need to create one manually viaRecurrenceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecurrence(RecurrenceSettings)
.- Parameters:
recurrence
- a consumer that will call methods onRecurrenceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrides
Information about changes that would be made in a rotation override.
- Parameters:
overrides
- Information about changes that would be made in a rotation override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
Information about changes that would be made in a rotation override.
- Parameters:
overrides
- Information about changes that would be made in a rotation override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
Information about changes that would be made in a rotation override.
This is a convenience method that creates an instance of thePreviewOverride.Builder
avoiding the need to create one manually viaPreviewOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverrides(List<PreviewOverride>)
.- Parameters:
overrides
- a consumer that will call methods onPreviewOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to start the list. This token is used to get the next set of results.
- Parameters:
nextToken
- A token to start the list. This token is used to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPreviewRotationShiftsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPreviewRotationShiftsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-