public class CreateDBClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateDBClusterSnapshot operation
.
Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
NOOP
Constructor and Description |
---|
CreateDBClusterSnapshotRequest() |
Modifier and Type | Method and 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(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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getDBClusterSnapshotIdentifier()
Constraints:
Example: my-cluster1-snapshot1
Constraints:
Example: my-cluster1-snapshot1
public void setDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
Constraints:
Example: my-cluster1-snapshot1
dBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot. This parameter is stored as
a lowercase string. Constraints:
Example: my-cluster1-snapshot1
public CreateDBClusterSnapshotRequest withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
Constraints:
Example: my-cluster1-snapshot1
Returns a reference to this object so that method calls can be chained together.
dBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot. This parameter is stored as
a lowercase string. Constraints:
Example: my-cluster1-snapshot1
public String getDBClusterIdentifier()
Constraints:
Example:
my-cluster1
Constraints:
Example:
my-cluster1
public void setDBClusterIdentifier(String dBClusterIdentifier)
Constraints:
Example:
my-cluster1
dBClusterIdentifier
- The identifier of the DB cluster to create a snapshot for. This
parameter is not case-sensitive. Constraints:
Example:
my-cluster1
public CreateDBClusterSnapshotRequest withDBClusterIdentifier(String dBClusterIdentifier)
Constraints:
Example:
my-cluster1
Returns a reference to this object so that method calls can be chained together.
dBClusterIdentifier
- The identifier of the DB cluster to create a snapshot for. This
parameter is not case-sensitive. Constraints:
Example:
my-cluster1
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The tags to be assigned to the DB cluster snapshot.public CreateDBClusterSnapshotRequest withTags(Tag... tags)
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.
Returns a reference to this object so that method calls can be chained together.
tags
- The tags to be assigned to the DB cluster snapshot.public CreateDBClusterSnapshotRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.