public class DeleteDBClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteDBCluster operation
.
The DeleteDBCluster action deletes a previously provisioned DB cluster. A successful response from the web service indicates the request was received correctly. When you delete a DB cluster, all automated backups for that DB cluster are deleted and cannot be recovered. Manual DB cluster snapshots of the DB cluster to be deleted are not deleted.
For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
NOOP
Constructor and Description |
---|
DeleteDBClusterRequest() |
Modifier and Type | Method and 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 when
SkipFinalSnapshot is set to
false . |
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 when
SkipFinalSnapshot is set to
false . |
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 when
SkipFinalSnapshot is set to
false . |
DeleteDBClusterRequest |
withSkipFinalSnapshot(Boolean skipFinalSnapshot)
Determines whether a final DB cluster snapshot is created before the
DB cluster is deleted.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDBClusterIdentifier()
Constraints:
Constraints:
public void setDBClusterIdentifier(String dBClusterIdentifier)
Constraints:
dBClusterIdentifier
- The DB cluster identifier for the DB cluster to be deleted. This
parameter isn't case-sensitive. Constraints:
public DeleteDBClusterRequest withDBClusterIdentifier(String dBClusterIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
dBClusterIdentifier
- The DB cluster identifier for the DB cluster to be deleted. This
parameter isn't case-sensitive. Constraints:
public Boolean isSkipFinalSnapshot()
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.
FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.Default: false
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.
FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.Default: false
public void setSkipFinalSnapshot(Boolean skipFinalSnapshot)
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.
FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.Default: false
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.
FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.Default: false
public DeleteDBClusterRequest withSkipFinalSnapshot(Boolean skipFinalSnapshot)
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.
FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.Default: false
Returns a reference to this object so that method calls can be chained together.
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.
FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.Default: false
public Boolean getSkipFinalSnapshot()
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.
FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.Default: false
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.
FinalDBSnapshotIdentifier
parameter if SkipFinalSnapshot
is
false
.Default: false
public String getFinalDBSnapshotIdentifier()
SkipFinalSnapshot
is set to
false
. SkipFinalShapshot
parameter to true results in an
error. Constraints:
SkipFinalSnapshot
is set to
false
. SkipFinalShapshot
parameter to true results in an
error. Constraints:
public void setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
SkipFinalSnapshot
is set to
false
. SkipFinalShapshot
parameter to true results in an
error. Constraints:
finalDBSnapshotIdentifier
- The DB cluster snapshot identifier of the new DB cluster snapshot
created when SkipFinalSnapshot
is set to
false
. SkipFinalShapshot
parameter to true results in an
error. Constraints:
public DeleteDBClusterRequest withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
SkipFinalSnapshot
is set to
false
. SkipFinalShapshot
parameter to true results in an
error. Constraints:
Returns a reference to this object so that method calls can be chained together.
finalDBSnapshotIdentifier
- The DB cluster snapshot identifier of the new DB cluster snapshot
created when SkipFinalSnapshot
is set to
false
. SkipFinalShapshot
parameter to true results in an
error. Constraints:
public String toString()
toString
in class Object
Object.toString()
public DeleteDBClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.