Interface UpdateRotationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRotationRequest.Builder,UpdateRotationRequest>,SdkBuilder<UpdateRotationRequest.Builder,UpdateRotationRequest>,SdkPojo,SdkRequest.Builder,SsmContactsRequest.Builder
- Enclosing class:
- UpdateRotationRequest
public static interface UpdateRotationRequest.Builder extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<UpdateRotationRequest.Builder,UpdateRotationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateRotationRequest.BuildercontactIds(String... contactIds)The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.UpdateRotationRequest.BuildercontactIds(Collection<String> contactIds)The Amazon Resource Names (ARNs) of the contacts to include in the updated rotation.UpdateRotationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateRotationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateRotationRequest.Builderrecurrence(Consumer<RecurrenceSettings.Builder> recurrence)Information about how long the updated rotation lasts before restarting at the beginning of the shift order.UpdateRotationRequest.Builderrecurrence(RecurrenceSettings recurrence)Information about how long the updated rotation lasts before restarting at the beginning of the shift order.UpdateRotationRequest.BuilderrotationId(String rotationId)The Amazon Resource Name (ARN) of the rotation to update.UpdateRotationRequest.BuilderstartTime(Instant startTime)The date and time the rotation goes into effect.UpdateRotationRequest.BuildertimeZoneId(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 Detail
-
rotationId
UpdateRotationRequest.Builder rotationId(String 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
UpdateRotationRequest.Builder contactIds(Collection<String> 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
UpdateRotationRequest.Builder contactIds(String... 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
UpdateRotationRequest.Builder startTime(Instant 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
UpdateRotationRequest.Builder timeZoneId(String 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
UpdateRotationRequest.Builder recurrence(RecurrenceSettings 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
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.
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)
-
overrideConfiguration
UpdateRotationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRotationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-