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 Details

    • 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

      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

      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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • overrideConfiguration

      CreateBlueGreenDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.