public class CreateDBSnapshotRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dBInstanceIdentifier
The DB instance identifier.
|
private java.lang.String |
dBSnapshotIdentifier
The identifier for the DB snapshot.
|
private SdkInternalList<Tag> |
tags |
NOOP
Constructor and Description |
---|
CreateDBSnapshotRequest()
Default constructor for CreateDBSnapshotRequest object.
|
CreateDBSnapshotRequest(java.lang.String dBSnapshotIdentifier,
java.lang.String dBInstanceIdentifier)
Constructs a new CreateDBSnapshotRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateDBSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDBInstanceIdentifier()
The DB instance identifier.
|
java.lang.String |
getDBSnapshotIdentifier()
The identifier for the DB snapshot.
|
java.util.List<Tag> |
getTags() |
int |
hashCode() |
void |
setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB instance identifier.
|
void |
setDBSnapshotIdentifier(java.lang.String dBSnapshotIdentifier)
The identifier for the DB snapshot.
|
void |
setTags(java.util.Collection<Tag> tags) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDBSnapshotRequest |
withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB instance identifier.
|
CreateDBSnapshotRequest |
withDBSnapshotIdentifier(java.lang.String dBSnapshotIdentifier)
The identifier for the DB snapshot.
|
CreateDBSnapshotRequest |
withTags(java.util.Collection<Tag> tags) |
CreateDBSnapshotRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any).
|
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 dBSnapshotIdentifier
The identifier for the DB snapshot.
Constraints:
Example: my-snapshot-id
private java.lang.String dBInstanceIdentifier
The DB instance identifier. This is the unique key that identifies a DB instance.
Constraints:
private SdkInternalList<Tag> tags
public CreateDBSnapshotRequest()
public CreateDBSnapshotRequest(java.lang.String dBSnapshotIdentifier, java.lang.String dBInstanceIdentifier)
dBSnapshotIdentifier
- The identifier for the DB snapshot.
Constraints:
Example: my-snapshot-id
dBInstanceIdentifier
- The DB instance identifier. This is the unique key that identifies
a DB instance.
Constraints:
public void setDBSnapshotIdentifier(java.lang.String dBSnapshotIdentifier)
The identifier for the DB snapshot.
Constraints:
Example: my-snapshot-id
dBSnapshotIdentifier
- The identifier for the DB snapshot.
Constraints:
Example: my-snapshot-id
public java.lang.String getDBSnapshotIdentifier()
The identifier for the DB snapshot.
Constraints:
Example: my-snapshot-id
Constraints:
Example: my-snapshot-id
public CreateDBSnapshotRequest withDBSnapshotIdentifier(java.lang.String dBSnapshotIdentifier)
The identifier for the DB snapshot.
Constraints:
Example: my-snapshot-id
dBSnapshotIdentifier
- The identifier for the DB snapshot.
Constraints:
Example: my-snapshot-id
public void setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB instance identifier. This is the unique key that identifies a DB instance.
Constraints:
dBInstanceIdentifier
- The DB instance identifier. This is the unique key that identifies
a DB instance.
Constraints:
public java.lang.String getDBInstanceIdentifier()
The DB instance identifier. This is the unique key that identifies a DB instance.
Constraints:
Constraints:
public CreateDBSnapshotRequest withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB instance identifier. This is the unique key that identifies a DB instance.
Constraints:
dBInstanceIdentifier
- The DB instance identifier. This is the unique key that identifies
a DB instance.
Constraints:
public java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
tags
- public CreateDBSnapshotRequest 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.
tags
- public CreateDBSnapshotRequest withTags(java.util.Collection<Tag> tags)
tags
- 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 CreateDBSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()