Class CopyClusterSnapshotRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The identifier of the cluster the source snapshot was created from.The identifier for the source snapshot.The identifier given to the new manual snapshot.int
hashCode()
void
setSourceSnapshotClusterIdentifier
(String sourceSnapshotClusterIdentifier) The identifier of the cluster the source snapshot was created from.void
setSourceSnapshotIdentifier
(String sourceSnapshotIdentifier) The identifier for the source snapshot.void
setTargetSnapshotIdentifier
(String targetSnapshotIdentifier) The identifier given to the new manual snapshot.toString()
Returns a string representation of this object; useful for testing and debugging.withSourceSnapshotClusterIdentifier
(String sourceSnapshotClusterIdentifier) The identifier of the cluster the source snapshot was created from.withSourceSnapshotIdentifier
(String sourceSnapshotIdentifier) The identifier for the source snapshot.withTargetSnapshotIdentifier
(String targetSnapshotIdentifier) The identifier given to the new manual snapshot.Methods inherited from class com.amazonaws.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
-
CopyClusterSnapshotRequest
public CopyClusterSnapshotRequest()
-
-
Method Details
-
setSourceSnapshotIdentifier
The identifier for the source snapshot.
Constraints:
- Must be the identifier for a valid automated snapshot whose state is
available
.
- Parameters:
sourceSnapshotIdentifier
- The identifier for the source snapshot.Constraints:
- Must be the identifier for a valid automated snapshot whose
state is
available
.
- Must be the identifier for a valid automated snapshot whose
state is
- Must be the identifier for a valid automated snapshot whose state is
-
getSourceSnapshotIdentifier
The identifier for the source snapshot.
Constraints:
- Must be the identifier for a valid automated snapshot whose state is
available
.
- Returns:
- The identifier for the source snapshot.
Constraints:
- Must be the identifier for a valid automated snapshot whose
state is
available
.
- Must be the identifier for a valid automated snapshot whose
state is
- Must be the identifier for a valid automated snapshot whose state is
-
withSourceSnapshotIdentifier
The identifier for the source snapshot.
Constraints:
- Must be the identifier for a valid automated snapshot whose state is
available
.
- Parameters:
sourceSnapshotIdentifier
- The identifier for the source snapshot.Constraints:
- Must be the identifier for a valid automated snapshot whose
state is
available
.
- Must be the identifier for a valid automated snapshot whose
state is
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- Must be the identifier for a valid automated snapshot whose state is
-
setSourceSnapshotClusterIdentifier
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
- Must be the identifier for a valid cluster.
- Parameters:
sourceSnapshotClusterIdentifier
- The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.Constraints:
- Must be the identifier for a valid cluster.
-
getSourceSnapshotClusterIdentifier
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
- Must be the identifier for a valid cluster.
- Returns:
- The identifier of the cluster the source snapshot was created
from. This parameter is required if your IAM user has a policy
containing a snapshot resource element that specifies anything
other than * for the cluster name.
Constraints:
- Must be the identifier for a valid cluster.
-
withSourceSnapshotClusterIdentifier
public CopyClusterSnapshotRequest withSourceSnapshotClusterIdentifier(String sourceSnapshotClusterIdentifier) The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
- Must be the identifier for a valid cluster.
- Parameters:
sourceSnapshotClusterIdentifier
- The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.Constraints:
- Must be the identifier for a valid cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetSnapshotIdentifier
The identifier given to the new manual snapshot.
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.
- Must be unique for the AWS account that is making the request.
- Parameters:
targetSnapshotIdentifier
- The identifier given to the new manual snapshot.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.
- Must be unique for the AWS account that is making the request.
-
getTargetSnapshotIdentifier
The identifier given to the new manual snapshot.
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.
- Must be unique for the AWS account that is making the request.
- Returns:
- The identifier given to the new manual snapshot.
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.
- Must be unique for the AWS account that is making the request.
-
withTargetSnapshotIdentifier
The identifier given to the new manual snapshot.
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.
- Must be unique for the AWS account that is making the request.
- Parameters:
targetSnapshotIdentifier
- The identifier given to the new manual snapshot.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.
- Must be unique for the AWS account that is making the request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-