public class CreateDBClusterSnapshotRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dBClusterIdentifier
The identifier of the DB cluster to create a snapshot for.
|
private java.lang.String |
dBClusterSnapshotIdentifier
The identifier of the DB cluster snapshot.
|
private SdkInternalList<Tag> |
tags
The tags to be assigned to the DB cluster snapshot.
|
NOOP
Constructor and Description |
---|
CreateDBClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDBClusterSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDBClusterIdentifier()
The identifier of the DB cluster to create a snapshot for.
|
java.lang.String |
getDBClusterSnapshotIdentifier()
The identifier of the DB cluster snapshot.
|
java.util.List<Tag> |
getTags()
The tags to be assigned to the DB cluster snapshot.
|
int |
hashCode() |
void |
setDBClusterIdentifier(java.lang.String dBClusterIdentifier)
The identifier of the DB cluster to create a snapshot for.
|
void |
setDBClusterSnapshotIdentifier(java.lang.String dBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot.
|
void |
setTags(java.util.Collection<Tag> tags)
The tags to be assigned to the DB cluster snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDBClusterSnapshotRequest |
withDBClusterIdentifier(java.lang.String dBClusterIdentifier)
The identifier of the DB cluster to create a snapshot for.
|
CreateDBClusterSnapshotRequest |
withDBClusterSnapshotIdentifier(java.lang.String dBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot.
|
CreateDBClusterSnapshotRequest |
withTags(java.util.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.
|
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
private java.lang.String dBClusterSnapshotIdentifier
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
Example: my-cluster1-snapshot1
private java.lang.String dBClusterIdentifier
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Example: my-cluster1
private SdkInternalList<Tag> tags
The tags to be assigned to the DB cluster snapshot.
public void setDBClusterSnapshotIdentifier(java.lang.String dBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
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 java.lang.String getDBClusterSnapshotIdentifier()
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
Example: my-cluster1-snapshot1
Constraints:
Example: my-cluster1-snapshot1
public CreateDBClusterSnapshotRequest withDBClusterSnapshotIdentifier(java.lang.String dBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
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 void setDBClusterIdentifier(java.lang.String dBClusterIdentifier)
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
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 java.lang.String getDBClusterIdentifier()
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Example: my-cluster1
Constraints:
Example: my-cluster1
public CreateDBClusterSnapshotRequest withDBClusterIdentifier(java.lang.String dBClusterIdentifier)
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
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 java.util.List<Tag> getTags()
The tags to be assigned to the DB cluster snapshot.
public void setTags(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateDBClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()