public class CreateClusterSnapshotRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clusterIdentifier
The cluster identifier for which you want a snapshot.
|
private java.lang.String |
snapshotIdentifier
A unique identifier for the snapshot that you are requesting.
|
private SdkInternalList<Tag> |
tags
A list of tag instances.
|
NOOP
Constructor and Description |
---|
CreateClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClusterSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClusterIdentifier()
The cluster identifier for which you want a snapshot.
|
java.lang.String |
getSnapshotIdentifier()
A unique identifier for the snapshot that you are requesting.
|
java.util.List<Tag> |
getTags()
A list of tag instances.
|
int |
hashCode() |
void |
setClusterIdentifier(java.lang.String clusterIdentifier)
The cluster identifier for which you want a snapshot.
|
void |
setSnapshotIdentifier(java.lang.String snapshotIdentifier)
A unique identifier for the snapshot that you are requesting.
|
void |
setTags(java.util.Collection<Tag> tags)
A list of tag instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateClusterSnapshotRequest |
withClusterIdentifier(java.lang.String clusterIdentifier)
The cluster identifier for which you want a snapshot.
|
CreateClusterSnapshotRequest |
withSnapshotIdentifier(java.lang.String snapshotIdentifier)
A unique identifier for the snapshot that you are requesting.
|
CreateClusterSnapshotRequest |
withTags(java.util.Collection<Tag> tags)
A list of tag instances.
|
CreateClusterSnapshotRequest |
withTags(Tag... tags)
A list of tag instances.
|
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
private java.lang.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:
Example: my-snapshot-id
private java.lang.String clusterIdentifier
The cluster identifier for which you want a snapshot.
private SdkInternalList<Tag> tags
A list of tag instances.
public void setSnapshotIdentifier(java.lang.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:
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:
Example: my-snapshot-id
public java.lang.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:
Example: my-snapshot-id
Constraints:
Example: my-snapshot-id
public CreateClusterSnapshotRequest withSnapshotIdentifier(java.lang.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:
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:
Example: my-snapshot-id
public void setClusterIdentifier(java.lang.String clusterIdentifier)
The cluster identifier for which you want a snapshot.
clusterIdentifier
- The cluster identifier for which you want a snapshot.public java.lang.String getClusterIdentifier()
The cluster identifier for which you want a snapshot.
public CreateClusterSnapshotRequest withClusterIdentifier(java.lang.String clusterIdentifier)
The cluster identifier for which you want a snapshot.
clusterIdentifier
- The cluster identifier for which you want a snapshot.public java.util.List<Tag> getTags()
A list of tag instances.
public void setTags(java.util.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(java.util.Collection<Tag> tags)
A list of tag instances.
tags
- A list of tag instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()