Class CreateDBClusterSnapshotRequest
- 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 DB cluster to create a snapshot for.The identifier of the DB cluster snapshot.getTags()
The tags to be assigned to the DB cluster snapshot.int
hashCode()
void
setDBClusterIdentifier
(String dBClusterIdentifier) The identifier of the DB cluster to create a snapshot for.void
setDBClusterSnapshotIdentifier
(String dBClusterSnapshotIdentifier) The identifier of the DB cluster snapshot.void
setTags
(Collection<Tag> tags) The tags to be assigned to the DB cluster snapshot.toString()
Returns a string representation of this object; useful for testing and debugging.withDBClusterIdentifier
(String dBClusterIdentifier) The identifier of the DB cluster to create a snapshot for.withDBClusterSnapshotIdentifier
(String dBClusterSnapshotIdentifier) The identifier of the DB cluster snapshot.The tags to be assigned to the DB cluster snapshot.withTags
(Collection<Tag> tags) The tags to be assigned to the DB cluster 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
-
CreateDBClusterSnapshotRequest
public CreateDBClusterSnapshotRequest()
-
-
Method Details
-
setDBClusterSnapshotIdentifier
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1-snapshot1
- Parameters:
dBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1-snapshot1
-
getDBClusterSnapshotIdentifier
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1-snapshot1
- Returns:
- The identifier of the DB cluster snapshot. This parameter is
stored as a lowercase string.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1-snapshot1
-
withDBClusterSnapshotIdentifier
public CreateDBClusterSnapshotRequest withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier) The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1-snapshot1
- Parameters:
dBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1-snapshot1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBClusterIdentifier
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1
- Parameters:
dBClusterIdentifier
- The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1
-
getDBClusterIdentifier
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1
- Returns:
- The identifier of the DB cluster to create a snapshot for. This
parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1
-
withDBClusterIdentifier
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1
- Parameters:
dBClusterIdentifier
- The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
The tags to be assigned to the DB cluster snapshot.
- Returns:
- The tags to be assigned to the DB cluster snapshot.
-
setTags
The tags to be assigned to the DB cluster snapshot.
- Parameters:
tags
- The tags to be assigned to the DB cluster snapshot.
-
withTags
The tags to be assigned to the DB cluster snapshot.
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
- The tags to be assigned to the DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The tags to be assigned to the DB cluster snapshot.
- Parameters:
tags
- The tags to be assigned to the DB cluster snapshot.- 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:
-