Class DeleteDBClusterRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.DeleteDBClusterRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DeleteDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • DeleteDBClusterRequest

      public DeleteDBClusterRequest()
  • Method Details

    • setDBClusterIdentifier

      public void setDBClusterIdentifier(String dBClusterIdentifier)

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

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
      Parameters:
      dBClusterIdentifier - The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
    • getDBClusterIdentifier

      public String getDBClusterIdentifier()

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

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
      Returns:
      The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
    • withDBClusterIdentifier

      public DeleteDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)

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

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
      Parameters:
      dBClusterIdentifier - The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens
      • 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.
    • setSkipFinalSnapshot

      public void setSkipFinalSnapshot(Boolean skipFinalSnapshot)

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

      You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

      Default: false

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

      You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

      Default: false

    • getSkipFinalSnapshot

      public Boolean getSkipFinalSnapshot()

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

      You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

      Default: false

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

      You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

      Default: false

    • withSkipFinalSnapshot

      public DeleteDBClusterRequest withSkipFinalSnapshot(Boolean skipFinalSnapshot)

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

      You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

      Default: false

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

      You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

      Default: false

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

      public Boolean isSkipFinalSnapshot()

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

      You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

      Default: false

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

      You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

      Default: false

    • setFinalDBSnapshotIdentifier

      public void setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)

      The DB cluster snapshot identifier of the new DB 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 1 to 255 alphanumeric characters
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
      Parameters:
      finalDBSnapshotIdentifier - The DB cluster snapshot identifier of the new DB 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 1 to 255 alphanumeric characters
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
    • getFinalDBSnapshotIdentifier

      public String getFinalDBSnapshotIdentifier()

      The DB cluster snapshot identifier of the new DB 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 1 to 255 alphanumeric characters
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
      Returns:
      The DB cluster snapshot identifier of the new DB 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 1 to 255 alphanumeric characters
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
    • withFinalDBSnapshotIdentifier

      public DeleteDBClusterRequest withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)

      The DB cluster snapshot identifier of the new DB 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 1 to 255 alphanumeric characters
      • First character must be a letter
      • Cannot end with a hyphen or contain two consecutive hyphens
      Parameters:
      finalDBSnapshotIdentifier - The DB cluster snapshot identifier of the new DB 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 1 to 255 alphanumeric characters
      • 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.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DeleteDBClusterRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: