Class CreateDBClusterSnapshotRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.CreateDBClusterSnapshotRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateDBClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateDBClusterSnapshotRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDBClusterSnapshotRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDBClusterIdentifier()
The identifier of the DB cluster to create a snapshot for.String
getDBClusterSnapshotIdentifier()
The identifier of the DB cluster snapshot.List<Tag>
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateDBClusterSnapshotRequest
withDBClusterIdentifier(String dBClusterIdentifier)
The identifier of the DB cluster to create a snapshot for.CreateDBClusterSnapshotRequest
withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot.CreateDBClusterSnapshotRequest
withTags(Tag... tags)
The tags to be assigned to the DB cluster snapshot.CreateDBClusterSnapshotRequest
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
-
-
-
-
Method Detail
-
setDBClusterSnapshotIdentifier
public void setDBClusterSnapshotIdentifier(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
-
getDBClusterSnapshotIdentifier
public String 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
public void setDBClusterIdentifier(String 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
- 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
public String 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
public CreateDBClusterSnapshotRequest withDBClusterIdentifier(String 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
- 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
public List<Tag> getTags()
The tags to be assigned to the DB cluster snapshot.
- Returns:
- The tags to be assigned to the DB cluster snapshot.
-
setTags
public void setTags(Collection<Tag> tags)
The tags to be assigned to the DB cluster snapshot.
- Parameters:
tags
- The tags to be assigned to the DB cluster snapshot.
-
withTags
public CreateDBClusterSnapshotRequest withTags(Tag... tags)
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
public CreateDBClusterSnapshotRequest withTags(Collection<Tag> tags)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateDBClusterSnapshotRequest 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:
Object.clone()
-
-