public class DeleteClusterRequest extends AmazonWebServiceRequest implements Serializable
DeleteCluster operation
.
Deletes a previously provisioned cluster. A successful response from the web service indicates that the request was received correctly. If a final cluster snapshot is requested the status of the cluster will be "final-snapshot" while the snapshot is being taken, then it's "deleting" once Amazon Redshift begins deleting the cluster. Use DescribeClusters to monitor the status of the deletion. The delete operation cannot be canceled or reverted once submitted. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Management Guide .
NOOP
Constructor and Description |
---|
DeleteClusterRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The identifier of the cluster to be deleted.
|
String |
getFinalClusterSnapshotIdentifier()
The identifier of the final snapshot that is to be created immediately
before deleting the cluster.
|
Boolean |
getSkipFinalClusterSnapshot()
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
int |
hashCode() |
Boolean |
isSkipFinalClusterSnapshot()
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
void |
setClusterIdentifier(String clusterIdentifier)
The identifier of the cluster to be deleted.
|
void |
setFinalClusterSnapshotIdentifier(String finalClusterSnapshotIdentifier)
The identifier of the final snapshot that is to be created immediately
before deleting the cluster.
|
void |
setSkipFinalClusterSnapshot(Boolean skipFinalClusterSnapshot)
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteClusterRequest |
withClusterIdentifier(String clusterIdentifier)
The identifier of the cluster to be deleted.
|
DeleteClusterRequest |
withFinalClusterSnapshotIdentifier(String finalClusterSnapshotIdentifier)
The identifier of the final snapshot that is to be created immediately
before deleting the cluster.
|
DeleteClusterRequest |
withSkipFinalClusterSnapshot(Boolean skipFinalClusterSnapshot)
Determines whether a final snapshot of the cluster is created before
Amazon Redshift deletes the cluster.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getClusterIdentifier()
Constraints:
Constraints:
public void setClusterIdentifier(String clusterIdentifier)
Constraints:
clusterIdentifier
- The identifier of the cluster to be deleted. Constraints:
public DeleteClusterRequest withClusterIdentifier(String clusterIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier
- The identifier of the cluster to be deleted. Constraints:
public Boolean isSkipFinalClusterSnapshot()
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 setSkipFinalClusterSnapshot(Boolean skipFinalClusterSnapshot)
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 DeleteClusterRequest withSkipFinalClusterSnapshot(Boolean skipFinalClusterSnapshot)
true
, a final
cluster snapshot is not created. If false
, a final
cluster snapshot is created before the cluster is deleted. false
.Default: false
Returns a reference to this object so that method calls can be chained together.
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 Boolean getSkipFinalClusterSnapshot()
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 String getFinalClusterSnapshotIdentifier()
false
.
Constraints:
false
.
Constraints:
public void setFinalClusterSnapshotIdentifier(String finalClusterSnapshotIdentifier)
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 DeleteClusterRequest withFinalClusterSnapshotIdentifier(String finalClusterSnapshotIdentifier)
false
.
Constraints:
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.