Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class CreateClusterSnapshotRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.CreateClusterSnapshotRequest
All Implemented Interfaces:
Serializable

public class CreateClusterSnapshotRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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 .

See Also:
AmazonRedshift.createClusterSnapshot(CreateClusterSnapshotRequest), Serialized Form

Constructor Summary
CreateClusterSnapshotRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateClusterSnapshotRequest

public CreateClusterSnapshotRequest()
Method Detail

getSnapshotIdentifier

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:

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


setSnapshotIdentifier

public 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:

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


withSnapshotIdentifier

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:

Example: my-snapshot-id

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

getClusterIdentifier

public String getClusterIdentifier()
The cluster identifier for which you want a snapshot.

Returns:
The cluster identifier for which you want a snapshot.

setClusterIdentifier

public void setClusterIdentifier(String clusterIdentifier)
The cluster identifier for which you want a snapshot.

Parameters:
clusterIdentifier - The cluster identifier for which you want a snapshot.

withClusterIdentifier

public CreateClusterSnapshotRequest withClusterIdentifier(String clusterIdentifier)
The cluster identifier for which you want a snapshot.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterIdentifier - The cluster identifier for which you want a snapshot.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.