Interface SwitchoverBlueGreenDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SwitchoverBlueGreenDeploymentRequest.Builder,
,SwitchoverBlueGreenDeploymentRequest> RdsRequest.Builder
,SdkBuilder<SwitchoverBlueGreenDeploymentRequest.Builder,
,SwitchoverBlueGreenDeploymentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SwitchoverBlueGreenDeploymentRequest
public static interface SwitchoverBlueGreenDeploymentRequest.Builder
extends RdsRequest.Builder, SdkPojo, CopyableBuilder<SwitchoverBlueGreenDeploymentRequest.Builder,SwitchoverBlueGreenDeploymentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionblueGreenDeploymentIdentifier
(String blueGreenDeploymentIdentifier) The unique identifier of the blue/green deployment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.switchoverTimeout
(Integer switchoverTimeout) The amount of time, in seconds, for the switchover to complete.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.services.rds.model.RdsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
blueGreenDeploymentIdentifier
SwitchoverBlueGreenDeploymentRequest.Builder blueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier) The unique identifier of the blue/green deployment.
Constraints:
-
Must match an existing blue/green deployment identifier.
- Parameters:
blueGreenDeploymentIdentifier
- The unique identifier of the blue/green deployment.Constraints:
-
Must match an existing blue/green deployment identifier.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
switchoverTimeout
The amount of time, in seconds, for the switchover to complete.
Default: 300
If the switchover takes longer than the specified duration, then any changes are rolled back, and no changes are made to the environments.
- Parameters:
switchoverTimeout
- The amount of time, in seconds, for the switchover to complete.Default: 300
If the switchover takes longer than the specified duration, then any changes are rolled back, and no changes are made to the environments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SwitchoverBlueGreenDeploymentRequest.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
SwitchoverBlueGreenDeploymentRequest.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.
-