@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteClusterRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterIdentifier(String clusterIdentifier)
The identifier of the cluster to be deleted.
Constraints:
Must contain lowercase characters.
Must contain from 1 to 63 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
clusterIdentifier
- The identifier of the cluster to be deleted.
Constraints:
Must contain lowercase characters.
Must contain from 1 to 63 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
public String getClusterIdentifier()
The identifier of the cluster to be deleted.
Constraints:
Must contain lowercase characters.
Must contain from 1 to 63 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Constraints:
Must contain lowercase characters.
Must contain from 1 to 63 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
public DeleteClusterRequest withClusterIdentifier(String clusterIdentifier)
The identifier of the cluster to be deleted.
Constraints:
Must contain lowercase characters.
Must contain from 1 to 63 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
clusterIdentifier
- The identifier of the cluster to be deleted.
Constraints:
Must contain lowercase characters.
Must contain from 1 to 63 alphanumeric characters or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
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.
The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is
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.
The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot
is 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.
The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is
false
.
Default: false
true
, a final cluster snapshot is not created. If false
, a final cluster
snapshot is created before the cluster is deleted.
The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot
is 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.
The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is
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.
The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot
is 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.
The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is
false
.
Default: false
true
, a final cluster snapshot is not created. If false
, a final cluster
snapshot is created before the cluster is deleted.
The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot
is 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:
Must be 1 to 255 alphanumeric characters.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
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:
Must be 1 to 255 alphanumeric characters.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
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:
Must be 1 to 255 alphanumeric characters.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
false
.
Constraints:
Must be 1 to 255 alphanumeric characters.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
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:
Must be 1 to 255 alphanumeric characters.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
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:
Must be 1 to 255 alphanumeric characters.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
public String toString()
toString
in class Object
Object.toString()
public DeleteClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.