public class CreateClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable
CreateClusterSnapshot operation
.
Creates a manual snapshot of the specified cluster. The cluster must
be in the available
state.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Management Guide .
NOOP
Constructor and Description |
---|
CreateClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
The cluster identifier for which you want a snapshot.
|
String |
getSnapshotIdentifier()
A unique identifier for the snapshot that you are requesting.
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The cluster identifier for which you want a snapshot.
|
void |
setSnapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot that you are requesting.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateClusterSnapshotRequest |
withClusterIdentifier(String clusterIdentifier)
The cluster identifier for which you want a snapshot.
|
CreateClusterSnapshotRequest |
withSnapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot that you are requesting.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getSnapshotIdentifier()
Constraints:
Example:
my-snapshot-id
Constraints:
Example:
my-snapshot-id
public void setSnapshotIdentifier(String snapshotIdentifier)
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 CreateClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier)
Constraints:
Example:
my-snapshot-id
Returns a reference to this object so that method calls can be chained together.
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 String getClusterIdentifier()
public void setClusterIdentifier(String clusterIdentifier)
clusterIdentifier
- The cluster identifier for which you want a snapshot.public CreateClusterSnapshotRequest withClusterIdentifier(String clusterIdentifier)
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier
- The cluster identifier for which you want a snapshot.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.