Interface UpdateRotationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateRotationRequest.Builder,
,UpdateRotationRequest> SdkBuilder<UpdateRotationRequest.Builder,
,UpdateRotationRequest> SdkPojo
,SdkRequest.Builder
,SsmContactsRequest.Builder
- Enclosing class:
UpdateRotationRequest
-
Method Summary
Modifier and TypeMethodDescriptioncontactIds
(String... contactIds) The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.contactIds
(Collection<String> contactIds) The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateRotationRequest.Builder
recurrence
(Consumer<RecurrenceSettings.Builder> recurrence) Information about how long the updated rotation lasts before restarting at the beginning of the shift order.recurrence
(RecurrenceSettings recurrence) Information about how long the updated rotation lasts before restarting at the beginning of the shift order.rotationId
(String rotationId) The Amazon Resource Name (ARN) of the rotation to update.The date and time the rotation goes into effect.timeZoneId
(String timeZoneId) The time zone to base the updated rotation’s activity 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 Details
-
rotationId
The Amazon Resource Name (ARN) of the rotation to update.
- Parameters:
rotationId
- The Amazon Resource Name (ARN) of the rotation to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactIds
The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.
The order in which you list the contacts is their shift order in the rotation schedule.
- Parameters:
contactIds
- The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.The order in which you list the contacts is their shift order in the rotation schedule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactIds
The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.
The order in which you list the contacts is their shift order in the rotation schedule.
- Parameters:
contactIds
- The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.The order in which you list the contacts is their shift order in the rotation schedule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The date and time the rotation goes into effect.
- Parameters:
startTime
- The date and time the rotation goes into effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeZoneId
The time zone to base the updated rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
Designators for time zones that don’t support Daylight Savings Time Rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), aren't supported.
- Parameters:
timeZoneId
- The time zone to base the updated rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.Designators for time zones that don’t support Daylight Savings Time Rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), aren't supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
Information about how long the updated rotation lasts before restarting at the beginning of the shift order.
- Parameters:
recurrence
- Information about how long the updated rotation lasts 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
Information about how long the updated rotation lasts 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:
-
overrideConfiguration
UpdateRotationRequest.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
UpdateRotationRequest.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.
-