Interface ListPreviewRotationShiftsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPreviewRotationShiftsRequest.Builder,ListPreviewRotationShiftsRequest>,SdkBuilder<ListPreviewRotationShiftsRequest.Builder,ListPreviewRotationShiftsRequest>,SdkPojo,SdkRequest.Builder,SsmContactsRequest.Builder
- Enclosing class:
- ListPreviewRotationShiftsRequest
public static interface ListPreviewRotationShiftsRequest.Builder extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<ListPreviewRotationShiftsRequest.Builder,ListPreviewRotationShiftsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListPreviewRotationShiftsRequest.BuilderendTime(Instant endTime)The date and time a rotation shift would end.ListPreviewRotationShiftsRequest.BuildermaxResults(Integer maxResults)The maximum number of items to return for this call.ListPreviewRotationShiftsRequest.Buildermembers(String... members)The contacts that would be assigned to a rotation.ListPreviewRotationShiftsRequest.Buildermembers(Collection<String> members)The contacts that would be assigned to a rotation.ListPreviewRotationShiftsRequest.BuildernextToken(String nextToken)A token to start the list.ListPreviewRotationShiftsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListPreviewRotationShiftsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListPreviewRotationShiftsRequest.Builderoverrides(Collection<PreviewOverride> overrides)Information about changes that would be made in a rotation override.ListPreviewRotationShiftsRequest.Builderoverrides(Consumer<PreviewOverride.Builder>... overrides)Information about changes that would be made in a rotation override.ListPreviewRotationShiftsRequest.Builderoverrides(PreviewOverride... overrides)Information about changes that would be made in a rotation override.default ListPreviewRotationShiftsRequest.Builderrecurrence(Consumer<RecurrenceSettings.Builder> recurrence)Information about how long a rotation would last before restarting at the beginning of the shift order.ListPreviewRotationShiftsRequest.Builderrecurrence(RecurrenceSettings recurrence)Information about how long a rotation would last before restarting at the beginning of the shift order.ListPreviewRotationShiftsRequest.BuilderrotationStartTime(Instant rotationStartTime)The date and time a rotation would begin.ListPreviewRotationShiftsRequest.BuilderstartTime(Instant startTime)Used to filter the range of calculated shifts before sending the response back to the user.ListPreviewRotationShiftsRequest.BuildertimeZoneId(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsRequest.Builder
build
-
-
-
-
Method Detail
-
rotationStartTime
ListPreviewRotationShiftsRequest.Builder rotationStartTime(Instant 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
ListPreviewRotationShiftsRequest.Builder startTime(Instant 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
ListPreviewRotationShiftsRequest.Builder endTime(Instant 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
ListPreviewRotationShiftsRequest.Builder members(Collection<String> 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
ListPreviewRotationShiftsRequest.Builder members(String... 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
ListPreviewRotationShiftsRequest.Builder timeZoneId(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".
- 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
ListPreviewRotationShiftsRequest.Builder recurrence(RecurrenceSettings 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.Builderavoiding the need to create one manually viaRecurrenceSettings.builder().When the
Consumercompletes,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:
recurrence(RecurrenceSettings)
-
overrides
ListPreviewRotationShiftsRequest.Builder overrides(Collection<PreviewOverride> 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
ListPreviewRotationShiftsRequest.Builder overrides(PreviewOverride... 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
ListPreviewRotationShiftsRequest.Builder overrides(Consumer<PreviewOverride.Builder>... overrides)
Information about changes that would be made in a rotation override.
This is a convenience method that creates an instance of thePreviewOverride.Builderavoiding the need to create one manually viaPreviewOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#overrides(List.) - 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:
#overrides(java.util.Collection)
-
nextToken
ListPreviewRotationShiftsRequest.Builder nextToken(String 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
ListPreviewRotationShiftsRequest.Builder maxResults(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.
- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListPreviewRotationShiftsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-