Interface CreateRotationOverrideRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRotationOverrideRequest.Builder,CreateRotationOverrideRequest>,SdkBuilder<CreateRotationOverrideRequest.Builder,CreateRotationOverrideRequest>,SdkPojo,SdkRequest.Builder,SsmContactsRequest.Builder
- Enclosing class:
- CreateRotationOverrideRequest
public static interface CreateRotationOverrideRequest.Builder extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<CreateRotationOverrideRequest.Builder,CreateRotationOverrideRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRotationOverrideRequest.BuilderendTime(Instant endTime)The date and time when the override ends.CreateRotationOverrideRequest.BuilderidempotencyToken(String idempotencyToken)A token that ensures that the operation is called only once with the specified details.CreateRotationOverrideRequest.BuildernewContactIds(String... newContactIds)The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.CreateRotationOverrideRequest.BuildernewContactIds(Collection<String> newContactIds)The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.CreateRotationOverrideRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRotationOverrideRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRotationOverrideRequest.BuilderrotationId(String rotationId)The Amazon Resource Name (ARN) of the rotation to create an override for.CreateRotationOverrideRequest.BuilderstartTime(Instant startTime)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 Detail
-
rotationId
CreateRotationOverrideRequest.Builder rotationId(String 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
CreateRotationOverrideRequest.Builder newContactIds(Collection<String> 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
CreateRotationOverrideRequest.Builder newContactIds(String... 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
CreateRotationOverrideRequest.Builder startTime(Instant 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
CreateRotationOverrideRequest.Builder endTime(Instant 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
CreateRotationOverrideRequest.Builder idempotencyToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRotationOverrideRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-