@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateClusterSnapshotRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateClusterSnapshotRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getClusterIdentifier()
 The cluster identifier for which you want a snapshot. | 
| Integer | getManualSnapshotRetentionPeriod()
 The number of days that a manual snapshot is retained. | 
| String | getSnapshotIdentifier()
 A unique identifier for the snapshot that you are requesting. | 
| List<Tag> | getTags()
 A list of tag instances. | 
| int | hashCode() | 
| void | setClusterIdentifier(String clusterIdentifier)
 The cluster identifier for which you want a snapshot. | 
| void | setManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
 The number of days that a manual snapshot is retained. | 
| void | setSnapshotIdentifier(String snapshotIdentifier)
 A unique identifier for the snapshot that you are requesting. | 
| void | setTags(Collection<Tag> tags)
 A list of tag instances. | 
| String | toString()Returns a string representation of this object. | 
| CreateClusterSnapshotRequest | withClusterIdentifier(String clusterIdentifier)
 The cluster identifier for which you want a snapshot. | 
| CreateClusterSnapshotRequest | withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
 The number of days that a manual snapshot is retained. | 
| CreateClusterSnapshotRequest | withSnapshotIdentifier(String snapshotIdentifier)
 A unique identifier for the snapshot that you are requesting. | 
| CreateClusterSnapshotRequest | withTags(Collection<Tag> tags)
 A list of tag instances. | 
| CreateClusterSnapshotRequest | withTags(Tag... tags)
 A list of tag instances. | 
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, withSdkRequestTimeoutpublic void setSnapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
 Example: my-snapshot-id
 
snapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all
        snapshots within the AWS account.
        Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
        Example: my-snapshot-id
public String getSnapshotIdentifier()
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
 Example: my-snapshot-id
 
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
         Example: my-snapshot-id
public CreateClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
 Example: my-snapshot-id
 
snapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all
        snapshots within the AWS account.
        Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
        Example: my-snapshot-id
public void setClusterIdentifier(String clusterIdentifier)
The cluster identifier for which you want a snapshot.
clusterIdentifier - The cluster identifier for which you want a snapshot.public String getClusterIdentifier()
The cluster identifier for which you want a snapshot.
public CreateClusterSnapshotRequest withClusterIdentifier(String clusterIdentifier)
The cluster identifier for which you want a snapshot.
clusterIdentifier - The cluster identifier for which you want a snapshot.public void setManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
manualSnapshotRetentionPeriod - The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained
        indefinitely. 
        The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
public Integer getManualSnapshotRetentionPeriod()
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
public CreateClusterSnapshotRequest withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
manualSnapshotRetentionPeriod - The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained
        indefinitely. 
        The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
public void setTags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.public CreateClusterSnapshotRequest withTags(Tag... tags)
A list of tag instances.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - A list of tag instances.public CreateClusterSnapshotRequest withTags(Collection<Tag> tags)
A list of tag instances.
tags - A list of tag instances.public String toString()
toString in class ObjectObject.toString()public CreateClusterSnapshotRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()