@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDBClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDBClusterSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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(Collection<Tag> tags)
The tags to be assigned to the DB cluster snapshot.
|
CreateDBClusterSnapshotRequest |
withTags(Tag... tags)
The tags to be assigned to the DB cluster snapshot.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
dBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
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 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
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 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
dBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
public void setDBClusterIdentifier(String dBClusterIdentifier)
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Example: my-cluster1
dBClusterIdentifier
- The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Example: my-cluster1
public String getDBClusterIdentifier()
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Example: my-cluster1
Constraints:
Must match the identifier of an existing DBCluster.
Example: my-cluster1
public CreateDBClusterSnapshotRequest withDBClusterIdentifier(String dBClusterIdentifier)
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Example: my-cluster1
dBClusterIdentifier
- The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Example: my-cluster1
public List<Tag> getTags()
The tags to be assigned to the DB cluster snapshot.
public void setTags(Collection<Tag> tags)
The tags to be assigned to the DB cluster snapshot.
tags
- The tags to be assigned to the DB cluster snapshot.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)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to be assigned to the DB cluster snapshot.public CreateDBClusterSnapshotRequest withTags(Collection<Tag> tags)
The tags to be assigned to the DB cluster snapshot.
tags
- The tags to be assigned to the DB cluster snapshot.public String toString()
toString
in class Object
Object.toString()
public CreateDBClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()