public class DeleteClusterRequest extends AmazonWebServiceRequest implements java.io.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 .
| コンストラクタと説明 |
|---|
DeleteClusterRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getClusterIdentifier()
Constraints:
Constraints:
public void setClusterIdentifier(java.lang.String clusterIdentifier)
Constraints:
clusterIdentifier - The identifier of the cluster to be deleted. Constraints:
public DeleteClusterRequest withClusterIdentifier(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String getFinalClusterSnapshotIdentifier()
false.
Constraints:
false.
Constraints:
public void setFinalClusterSnapshotIdentifier(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object