@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input to DeleteDBCluster.
NOOP
Constructor and Description |
---|
DeleteDBClusterRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteDBClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDBClusterIdentifier()
The cluster identifier for the cluster to be deleted.
|
String |
getFinalDBSnapshotIdentifier()
The cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshot is set to
false . |
Boolean |
getSkipFinalSnapshot()
Determines whether a final cluster snapshot is created before the cluster is deleted.
|
int |
hashCode() |
Boolean |
isSkipFinalSnapshot()
Determines whether a final cluster snapshot is created before the cluster is deleted.
|
void |
setDBClusterIdentifier(String dBClusterIdentifier)
The cluster identifier for the cluster to be deleted.
|
void |
setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshot is set to
false . |
void |
setSkipFinalSnapshot(Boolean skipFinalSnapshot)
Determines whether a final cluster snapshot is created before the cluster is deleted.
|
String |
toString()
Returns a string representation of this object.
|
DeleteDBClusterRequest |
withDBClusterIdentifier(String dBClusterIdentifier)
The cluster identifier for the cluster to be deleted.
|
DeleteDBClusterRequest |
withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshot is set to
false . |
DeleteDBClusterRequest |
withSkipFinalSnapshot(Boolean skipFinalSnapshot)
Determines whether a final cluster snapshot is created before the cluster is deleted.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDBClusterIdentifier(String dBClusterIdentifier)
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
Must match an existing DBClusterIdentifier
.
dBClusterIdentifier
- The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
Must match an existing DBClusterIdentifier
.
public String getDBClusterIdentifier()
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
Must match an existing DBClusterIdentifier
.
Constraints:
Must match an existing DBClusterIdentifier
.
public DeleteDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
Must match an existing DBClusterIdentifier
.
dBClusterIdentifier
- The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
Must match an existing DBClusterIdentifier
.
public void setSkipFinalSnapshot(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
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
public Boolean getSkipFinalSnapshot()
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
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
public DeleteDBClusterRequest withSkipFinalSnapshot(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
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
public Boolean isSkipFinalSnapshot()
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
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
public void setFinalDBSnapshotIdentifier(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.
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.
public String getFinalDBSnapshotIdentifier()
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.
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.
public DeleteDBClusterRequest withFinalDBSnapshotIdentifier(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.
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.
public String toString()
toString
in class Object
Object.toString()
public DeleteDBClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()