Interface CreateRotationOverrideRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateRotationOverrideRequest.Builder,
,CreateRotationOverrideRequest> SdkBuilder<CreateRotationOverrideRequest.Builder,
,CreateRotationOverrideRequest> SdkPojo
,SdkRequest.Builder
,SsmContactsRequest.Builder
- Enclosing class:
CreateRotationOverrideRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the override ends.idempotencyToken
(String idempotencyToken) A token that ensures that the operation is called only once with the specified details.newContactIds
(String... newContactIds) The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.newContactIds
(Collection<String> newContactIds) The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rotationId
(String rotationId) The Amazon Resource Name (ARN) of the rotation to create an override for.The date and time when the override goes into effect.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 create an override for.
- Parameters:
rotationId
- The Amazon Resource Name (ARN) of the rotation to create an override for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newContactIds
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
- Parameters:
newContactIds
- The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newContactIds
The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.
If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
- Parameters:
newContactIds
- The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The date and time when the override goes into effect.
- Parameters:
startTime
- The date and time when the override goes into effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The date and time when the override ends.
- Parameters:
endTime
- The date and time when the override ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idempotencyToken
A token that ensures that the operation is called only once with the specified details.
- Parameters:
idempotencyToken
- A token that ensures that the operation is called only once with the specified details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRotationOverrideRequest.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
CreateRotationOverrideRequest.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.
-