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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeleteDBClusterRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteDBClusterRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDBClusterIdentifier()
The DB cluster identifier for the DB cluster to be deleted.String
getFinalDBSnapshotIdentifier()
The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshot
is set tofalse
.Boolean
getSkipFinalSnapshot()
Determines whether a final DB cluster snapshot is created before the DB cluster is deleted.int
hashCode()
Boolean
isSkipFinalSnapshot()
Determines whether a final DB cluster snapshot is created before the DB cluster is deleted.void
setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the DB cluster to be deleted.void
setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshot
is set tofalse
.void
setSkipFinalSnapshot(Boolean skipFinalSnapshot)
Determines whether a final DB cluster snapshot is created before the DB cluster is deleted.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeleteDBClusterRequest
withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the DB cluster to be deleted.DeleteDBClusterRequest
withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshot
is set tofalse
.DeleteDBClusterRequest
withSkipFinalSnapshot(Boolean skipFinalSnapshot)
Determines whether a final DB cluster snapshot is created before the DB cluster is deleted.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a FinalDBSnapshotIdentifier
parameter ifSkipFinalSnapshot
isfalse
.Default:
false
- Parameters:
skipFinalSnapshot
- Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. Iftrue
is specified, no DB cluster snapshot is created. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a FinalDBSnapshotIdentifier
parameter ifSkipFinalSnapshot
isfalse
.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. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a FinalDBSnapshotIdentifier
parameter ifSkipFinalSnapshot
isfalse
.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. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a FinalDBSnapshotIdentifier
parameter ifSkipFinalSnapshot
isfalse
.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. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a FinalDBSnapshotIdentifier
parameter ifSkipFinalSnapshot
isfalse
.Default:
false
- Parameters:
skipFinalSnapshot
- Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. Iftrue
is specified, no DB cluster snapshot is created. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a FinalDBSnapshotIdentifier
parameter ifSkipFinalSnapshot
isfalse
.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. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a FinalDBSnapshotIdentifier
parameter ifSkipFinalSnapshot
isfalse
.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. Iffalse
is specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a FinalDBSnapshotIdentifier
parameter ifSkipFinalSnapshot
isfalse
.Default:
false
-
setFinalDBSnapshotIdentifier
public void setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The DB cluster snapshot identifier of the new DB cluster snapshot created when
SkipFinalSnapshot
is set tofalse
.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 whenSkipFinalSnapshot
is set tofalse
.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 tofalse
.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 tofalse
.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 tofalse
.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 whenSkipFinalSnapshot
is set tofalse
.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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-