Class CreateClusterSnapshotRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe cluster identifier for which you want a snapshot.A unique identifier for the snapshot that you are requesting.getTags()A list of tag instances.inthashCode()voidsetClusterIdentifier(String clusterIdentifier) The cluster identifier for which you want a snapshot.voidsetSnapshotIdentifier(String snapshotIdentifier) A unique identifier for the snapshot that you are requesting.voidsetTags(Collection<Tag> tags) A list of tag instances.toString()Returns a string representation of this object; useful for testing and debugging.withClusterIdentifier(String clusterIdentifier) The cluster identifier for which you want a snapshot.withSnapshotIdentifier(String snapshotIdentifier) A unique identifier for the snapshot that you are requesting.A list of tag instances.withTags(Collection<Tag> tags) A list of tag instances.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateClusterSnapshotRequest
public CreateClusterSnapshotRequest()
-
-
Method Details
-
setSnapshotIdentifier
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- Parameters:
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
-
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- Returns:
- 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
-
withSnapshotIdentifier
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- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterIdentifier
The cluster identifier for which you want a snapshot.
- Parameters:
clusterIdentifier- The cluster identifier for which you want a snapshot.
-
getClusterIdentifier
The cluster identifier for which you want a snapshot.
- Returns:
- The cluster identifier for which you want a snapshot.
-
withClusterIdentifier
The cluster identifier for which you want a snapshot.
- Parameters:
clusterIdentifier- The cluster identifier for which you want a snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
-
setTags
A list of tag instances.
- Parameters:
tags- A list of tag instances.
-
withTags
A list of tag instances.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)orwithTags(java.util.Collection)if you want to override the existing values.- Parameters:
tags- A list of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
A list of tag instances.
- Parameters:
tags- A list of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-