public class DeleteClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteClusterRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteClusterRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClusterIdentifier(String clusterIdentifier)
The identifier of the cluster to be deleted.
Constraints:
clusterIdentifier - The identifier of the cluster to be deleted.
Constraints:
public String getClusterIdentifier()
The identifier of the cluster to be deleted.
Constraints:
Constraints:
public DeleteClusterRequest withClusterIdentifier(String clusterIdentifier)
The identifier of the cluster to be deleted.
Constraints:
clusterIdentifier - The identifier of the cluster to be deleted.
Constraints:
public void setSkipFinalClusterSnapshot(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 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(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 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(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 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(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 String toString()
toString in class ObjectObject.toString()public DeleteClusterRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.