Interface SwitchoverBlueGreenDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SwitchoverBlueGreenDeploymentRequest.Builder,,SwitchoverBlueGreenDeploymentRequest> RdsRequest.Builder,SdkBuilder<SwitchoverBlueGreenDeploymentRequest.Builder,,SwitchoverBlueGreenDeploymentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SwitchoverBlueGreenDeploymentRequest
@Mutable
@NotThreadSafe
public static interface SwitchoverBlueGreenDeploymentRequest.Builder
extends RdsRequest.Builder, SdkPojo, CopyableBuilder<SwitchoverBlueGreenDeploymentRequest.Builder,SwitchoverBlueGreenDeploymentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionblueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier) The resource ID 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
blueGreenDeploymentIdentifier
SwitchoverBlueGreenDeploymentRequest.Builder blueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier) The resource ID of the blue/green deployment.
Constraints:
-
Must match an existing blue/green deployment resource ID.
- Parameters:
blueGreenDeploymentIdentifier- The resource ID of the blue/green deployment.Constraints:
-
Must match an existing blue/green deployment resource ID.
-
- 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-