public class DeleteClusterRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clusterIdentifier
The identifier of the cluster to be deleted.
|
private java.lang.String |
finalClusterSnapshotIdentifier
The identifier of the final snapshot that is to be created immediately
before deleting the cluster.
|
private java.lang.Boolean |
skipFinalClusterSnapshot
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
NOOP
Constructor and Description |
---|
DeleteClusterRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteClusterRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClusterIdentifier()
The identifier of the cluster to be deleted.
|
java.lang.String |
getFinalClusterSnapshotIdentifier()
The identifier of the final snapshot that is to be created immediately
before deleting the cluster.
|
java.lang.Boolean |
getSkipFinalClusterSnapshot()
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
int |
hashCode() |
java.lang.Boolean |
isSkipFinalClusterSnapshot()
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
void |
setClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the cluster to be deleted.
|
void |
setFinalClusterSnapshotIdentifier(java.lang.String finalClusterSnapshotIdentifier)
The identifier of the final snapshot that is to be created immediately
before deleting the cluster.
|
void |
setSkipFinalClusterSnapshot(java.lang.Boolean skipFinalClusterSnapshot)
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteClusterRequest |
withClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the cluster to be deleted.
|
DeleteClusterRequest |
withFinalClusterSnapshotIdentifier(java.lang.String finalClusterSnapshotIdentifier)
The identifier of the final snapshot that is to be created immediately
before deleting the cluster.
|
DeleteClusterRequest |
withSkipFinalClusterSnapshot(java.lang.Boolean skipFinalClusterSnapshot)
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
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
private java.lang.String clusterIdentifier
The identifier of the cluster to be deleted.
Constraints:
private java.lang.Boolean skipFinalClusterSnapshot
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster. If true
, a final
cluster snapshot is not created. If false
, a final cluster
snapshot is created before the cluster is deleted.
false
.
Default: false
private java.lang.String finalClusterSnapshotIdentifier
The identifier of the final snapshot that is to be created immediately
before deleting the cluster. If this parameter is provided,
SkipFinalClusterSnapshot must be false
.
Constraints:
public void setClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the cluster to be deleted.
Constraints:
clusterIdentifier
- The identifier of the cluster to be deleted.
Constraints:
public java.lang.String getClusterIdentifier()
The identifier of the cluster to be deleted.
Constraints:
Constraints:
public DeleteClusterRequest withClusterIdentifier(java.lang.String clusterIdentifier)
The identifier of the cluster to be deleted.
Constraints:
clusterIdentifier
- The identifier of the cluster to be deleted.
Constraints:
public void setSkipFinalClusterSnapshot(java.lang.Boolean skipFinalClusterSnapshot)
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster. If true
, a final
cluster snapshot is not created. If false
, a final cluster
snapshot is created before the cluster is deleted.
false
.
Default: false
skipFinalClusterSnapshot
- Determines whether a final snapshot of the cluster is created
before Amazon Redshift deletes the cluster. If true
,
a final cluster snapshot is not created. If false
, a
final cluster snapshot is created before the cluster is deleted.
false
.
Default: false
public java.lang.Boolean getSkipFinalClusterSnapshot()
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster. If true
, a final
cluster snapshot is not created. If false
, a final cluster
snapshot is created before the cluster is deleted.
false
.
Default: false
true
,
a final cluster snapshot is not created. If false
, a
final cluster snapshot is created before the cluster is deleted.
false
.
Default: false
public DeleteClusterRequest withSkipFinalClusterSnapshot(java.lang.Boolean skipFinalClusterSnapshot)
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster. If true
, a final
cluster snapshot is not created. If false
, a final cluster
snapshot is created before the cluster is deleted.
false
.
Default: false
skipFinalClusterSnapshot
- Determines whether a final snapshot of the cluster is created
before Amazon Redshift deletes the cluster. If true
,
a final cluster snapshot is not created. If false
, a
final cluster snapshot is created before the cluster is deleted.
false
.
Default: false
public java.lang.Boolean isSkipFinalClusterSnapshot()
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster. If true
, a final
cluster snapshot is not created. If false
, a final cluster
snapshot is created before the cluster is deleted.
false
.
Default: false
true
,
a final cluster snapshot is not created. If false
, a
final cluster snapshot is created before the cluster is deleted.
false
.
Default: false
public void setFinalClusterSnapshotIdentifier(java.lang.String finalClusterSnapshotIdentifier)
The identifier of the final snapshot that is to be created immediately
before deleting the cluster. If this parameter is provided,
SkipFinalClusterSnapshot must be false
.
Constraints:
finalClusterSnapshotIdentifier
- The identifier of the final snapshot that is to be created
immediately before deleting the cluster. If this parameter is
provided, SkipFinalClusterSnapshot must be
false
.
Constraints:
public java.lang.String getFinalClusterSnapshotIdentifier()
The identifier of the final snapshot that is to be created immediately
before deleting the cluster. If this parameter is provided,
SkipFinalClusterSnapshot must be false
.
Constraints:
false
.
Constraints:
public DeleteClusterRequest withFinalClusterSnapshotIdentifier(java.lang.String finalClusterSnapshotIdentifier)
The identifier of the final snapshot that is to be created immediately
before deleting the cluster. If this parameter is provided,
SkipFinalClusterSnapshot must be false
.
Constraints:
finalClusterSnapshotIdentifier
- The identifier of the final snapshot that is to be created
immediately before deleting the cluster. If this parameter is
provided, SkipFinalClusterSnapshot must be
false
.
Constraints:
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()