Interface DeleteDbClusterRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>, DocDbRequest.Builder, SdkBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DeleteDbClusterRequest

public static interface DeleteDbClusterRequest.Builder extends DocDbRequest.Builder, SdkPojo, CopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>
  • Method Details

    • dbClusterIdentifier

      DeleteDbClusterRequest.Builder dbClusterIdentifier(String dbClusterIdentifier)

      The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.

      Constraints:

      • Must match an existing DBClusterIdentifier.

      Parameters:
      dbClusterIdentifier - The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.

      Constraints:

      • Must match an existing DBClusterIdentifier.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • skipFinalSnapshot

      DeleteDbClusterRequest.Builder skipFinalSnapshot(Boolean skipFinalSnapshot)

      Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted.

      If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.

      Default: false

      Parameters:
      skipFinalSnapshot - Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted.

      If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.

      Default: false

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • finalDBSnapshotIdentifier

      DeleteDbClusterRequest.Builder finalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)

      The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot is set to false.

      Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

      Constraints:

      • Must be from 1 to 255 letters, numbers, or hyphens.

      • The first character must be a letter.

      • Cannot end with a hyphen or contain two consecutive hyphens.

      Parameters:
      finalDBSnapshotIdentifier - The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot is set to false.

      Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

      Constraints:

      • Must be from 1 to 255 letters, numbers, or hyphens.

      • The first character must be a letter.

      • Cannot end with a hyphen or contain two consecutive hyphens.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DeleteDbClusterRequest.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.