Interface CreateBlueGreenDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateBlueGreenDeploymentRequest.Builder,
,CreateBlueGreenDeploymentRequest> RdsRequest.Builder
,SdkBuilder<CreateBlueGreenDeploymentRequest.Builder,
,CreateBlueGreenDeploymentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBlueGreenDeploymentRequest
-
Method Summary
Modifier and TypeMethodDescriptionblueGreenDeploymentName
(String blueGreenDeploymentName) The name 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.The Amazon Resource Name (ARN) of the source production database.tags
(Collection<Tag> tags) Tags to assign to the blue/green deployment.tags
(Consumer<Tag.Builder>... tags) Tags to assign to the blue/green deployment.Tags to assign to the blue/green deployment.targetDBClusterParameterGroupName
(String targetDBClusterParameterGroupName) The DB cluster parameter group associated with the Aurora DB cluster in the green environment.targetDBInstanceClass
(String targetDBInstanceClass) Specify the DB instance class for the databases in the green environment.targetDBParameterGroupName
(String targetDBParameterGroupName) The DB parameter group associated with the DB instance in the green environment.targetEngineVersion
(String targetEngineVersion) The engine version of the database in the green environment.upgradeTargetStorageConfig
(Boolean upgradeTargetStorageConfig) Whether to upgrade the storage file system configuration on the green database.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
-
blueGreenDeploymentName
The name of the blue/green deployment.
Constraints:
-
Can't be the same as an existing blue/green deployment name in the same account and Amazon Web Services Region.
- Parameters:
blueGreenDeploymentName
- The name of the blue/green deployment.Constraints:
-
Can't be the same as an existing blue/green deployment name in the same account and Amazon Web Services Region.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
source
The Amazon Resource Name (ARN) of the source production database.
Specify the database that you want to clone. The blue/green deployment creates this database in the green environment. You can make updates to the database in the green environment, such as an engine version upgrade. When you are ready, you can switch the database in the green environment to be the production database.
- Parameters:
source
- The Amazon Resource Name (ARN) of the source production database.Specify the database that you want to clone. The blue/green deployment creates this database in the green environment. You can make updates to the database in the green environment, such as an engine version upgrade. When you are ready, you can switch the database in the green environment to be the production database.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetEngineVersion
The engine version of the database in the green environment.
Specify the engine version to upgrade to in the green environment.
- Parameters:
targetEngineVersion
- The engine version of the database in the green environment.Specify the engine version to upgrade to in the green environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDBParameterGroupName
CreateBlueGreenDeploymentRequest.Builder targetDBParameterGroupName(String targetDBParameterGroupName) The DB parameter group associated with the DB instance in the green environment.
To test parameter changes, specify a DB parameter group that is different from the one associated with the source DB instance.
- Parameters:
targetDBParameterGroupName
- The DB parameter group associated with the DB instance in the green environment.To test parameter changes, specify a DB parameter group that is different from the one associated with the source DB instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDBClusterParameterGroupName
CreateBlueGreenDeploymentRequest.Builder targetDBClusterParameterGroupName(String targetDBClusterParameterGroupName) The DB cluster parameter group associated with the Aurora DB cluster in the green environment.
To test parameter changes, specify a DB cluster parameter group that is different from the one associated with the source DB cluster.
- Parameters:
targetDBClusterParameterGroupName
- The DB cluster parameter group associated with the Aurora DB cluster in the green environment.To test parameter changes, specify a DB cluster parameter group that is different from the one associated with the source DB cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the blue/green deployment.
- Parameters:
tags
- Tags to assign to the blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the blue/green deployment.
- Parameters:
tags
- Tags to assign to the blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the blue/green deployment.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDBInstanceClass
Specify the DB instance class for the databases in the green environment.
This parameter only applies to RDS DB instances, because DB instances within an Aurora DB cluster can have multiple different instance classes. If you're creating a blue/green deployment from an Aurora DB cluster, don't specify this parameter. After the green environment is created, you can individually modify the instance classes of the DB instances within the green DB cluster.
- Parameters:
targetDBInstanceClass
- Specify the DB instance class for the databases in the green environment.This parameter only applies to RDS DB instances, because DB instances within an Aurora DB cluster can have multiple different instance classes. If you're creating a blue/green deployment from an Aurora DB cluster, don't specify this parameter. After the green environment is created, you can individually modify the instance classes of the DB instances within the green DB cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upgradeTargetStorageConfig
CreateBlueGreenDeploymentRequest.Builder upgradeTargetStorageConfig(Boolean upgradeTargetStorageConfig) Whether to upgrade the storage file system configuration on the green database. This option migrates the green DB instance from the older 32-bit file system to the preferred configuration. For more information, see Upgrading the storage file system for a DB instance.
- Parameters:
upgradeTargetStorageConfig
- Whether to upgrade the storage file system configuration on the green database. This option migrates the green DB instance from the older 32-bit file system to the preferred configuration. For more information, see Upgrading the storage file system for a DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBlueGreenDeploymentRequest.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
CreateBlueGreenDeploymentRequest.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.
-