Interface CreateBlueGreenDeploymentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateBlueGreenDeploymentRequest.Builder,CreateBlueGreenDeploymentRequest>
,RdsRequest.Builder
,SdkBuilder<CreateBlueGreenDeploymentRequest.Builder,CreateBlueGreenDeploymentRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateBlueGreenDeploymentRequest
public static interface CreateBlueGreenDeploymentRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<CreateBlueGreenDeploymentRequest.Builder,CreateBlueGreenDeploymentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateBlueGreenDeploymentRequest.Builder
blueGreenDeploymentName(String blueGreenDeploymentName)
The name of the blue/green deployment.CreateBlueGreenDeploymentRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateBlueGreenDeploymentRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateBlueGreenDeploymentRequest.Builder
source(String source)
The Amazon Resource Name (ARN) of the source production database.CreateBlueGreenDeploymentRequest.Builder
tags(Collection<Tag> tags)
Tags to assign to the blue/green deployment.CreateBlueGreenDeploymentRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Tags to assign to the blue/green deployment.CreateBlueGreenDeploymentRequest.Builder
tags(Tag... tags)
Tags to assign to the blue/green deployment.CreateBlueGreenDeploymentRequest.Builder
targetAllocatedStorage(Integer targetAllocatedStorage)
The amount of storage in gibibytes (GiB) to allocate for the green DB instance.CreateBlueGreenDeploymentRequest.Builder
targetDBClusterParameterGroupName(String targetDBClusterParameterGroupName)
The DB cluster parameter group associated with the Aurora DB cluster in the green environment.CreateBlueGreenDeploymentRequest.Builder
targetDBInstanceClass(String targetDBInstanceClass)
Specify the DB instance class for the databases in the green environment.CreateBlueGreenDeploymentRequest.Builder
targetDBParameterGroupName(String targetDBParameterGroupName)
The DB parameter group associated with the DB instance in the green environment.CreateBlueGreenDeploymentRequest.Builder
targetEngineVersion(String targetEngineVersion)
The engine version of the database in the green environment.CreateBlueGreenDeploymentRequest.Builder
targetIops(Integer targetIops)
The amount of Provisioned IOPS (input/output operations per second) to allocate for the green DB instance.CreateBlueGreenDeploymentRequest.Builder
targetStorageThroughput(Integer targetStorageThroughput)
The storage throughput value for the green DB instance.CreateBlueGreenDeploymentRequest.Builder
targetStorageType(String targetStorageType)
The storage type to associate with the green DB instance.CreateBlueGreenDeploymentRequest.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
blueGreenDeploymentName
CreateBlueGreenDeploymentRequest.Builder blueGreenDeploymentName(String 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
CreateBlueGreenDeploymentRequest.Builder source(String 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
CreateBlueGreenDeploymentRequest.Builder targetEngineVersion(String 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
CreateBlueGreenDeploymentRequest.Builder tags(Collection<Tag> 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
CreateBlueGreenDeploymentRequest.Builder tags(Tag... 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
CreateBlueGreenDeploymentRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
targetDBInstanceClass
CreateBlueGreenDeploymentRequest.Builder targetDBInstanceClass(String 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.
-
targetIops
CreateBlueGreenDeploymentRequest.Builder targetIops(Integer targetIops)
The amount of Provisioned IOPS (input/output operations per second) to allocate for the green DB instance. For information about valid IOPS values, see Amazon RDS DB instance storage in the Amazon RDS User Guide.
This setting doesn't apply to Amazon Aurora blue/green deployments.
- Parameters:
targetIops
- The amount of Provisioned IOPS (input/output operations per second) to allocate for the green DB instance. For information about valid IOPS values, see Amazon RDS DB instance storage in the Amazon RDS User Guide.This setting doesn't apply to Amazon Aurora blue/green deployments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetStorageType
CreateBlueGreenDeploymentRequest.Builder targetStorageType(String targetStorageType)
The storage type to associate with the green DB instance.
Valid Values:
gp2 | gp3 | io1 | io2
This setting doesn't apply to Amazon Aurora blue/green deployments.
- Parameters:
targetStorageType
- The storage type to associate with the green DB instance.Valid Values:
gp2 | gp3 | io1 | io2
This setting doesn't apply to Amazon Aurora blue/green deployments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetAllocatedStorage
CreateBlueGreenDeploymentRequest.Builder targetAllocatedStorage(Integer targetAllocatedStorage)
The amount of storage in gibibytes (GiB) to allocate for the green DB instance. You can choose to increase or decrease the allocated storage on the green DB instance.
This setting doesn't apply to Amazon Aurora blue/green deployments.
- Parameters:
targetAllocatedStorage
- The amount of storage in gibibytes (GiB) to allocate for the green DB instance. You can choose to increase or decrease the allocated storage on the green DB instance.This setting doesn't apply to Amazon Aurora blue/green deployments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetStorageThroughput
CreateBlueGreenDeploymentRequest.Builder targetStorageThroughput(Integer targetStorageThroughput)
The storage throughput value for the green DB instance.
This setting applies only to the
gp3
storage type.This setting doesn't apply to Amazon Aurora blue/green deployments.
- Parameters:
targetStorageThroughput
- The storage throughput value for the green DB instance.This setting applies only to the
gp3
storage type.This setting doesn't apply to Amazon Aurora blue/green deployments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBlueGreenDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBlueGreenDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-