@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRelationalDatabaseSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateRelationalDatabaseSnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateRelationalDatabaseSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getRelationalDatabaseName()
The name of the database on which to base your new snapshot.
|
String |
getRelationalDatabaseSnapshotName()
The name for your new database snapshot.
|
List<Tag> |
getTags()
The tag keys and optional values to add to the resource during create.
|
int |
hashCode() |
void |
setRelationalDatabaseName(String relationalDatabaseName)
The name of the database on which to base your new snapshot.
|
void |
setRelationalDatabaseSnapshotName(String relationalDatabaseSnapshotName)
The name for your new database snapshot.
|
void |
setTags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
String |
toString()
Returns a string representation of this object.
|
CreateRelationalDatabaseSnapshotRequest |
withRelationalDatabaseName(String relationalDatabaseName)
The name of the database on which to base your new snapshot.
|
CreateRelationalDatabaseSnapshotRequest |
withRelationalDatabaseSnapshotName(String relationalDatabaseSnapshotName)
The name for your new database snapshot.
|
CreateRelationalDatabaseSnapshotRequest |
withTags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
CreateRelationalDatabaseSnapshotRequest |
withTags(Tag... tags)
The tag keys and optional values to add to the resource during create.
|
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, withSdkRequestTimeoutpublic CreateRelationalDatabaseSnapshotRequest()
public void setRelationalDatabaseName(String relationalDatabaseName)
The name of the database on which to base your new snapshot.
relationalDatabaseName - The name of the database on which to base your new snapshot.public String getRelationalDatabaseName()
The name of the database on which to base your new snapshot.
public CreateRelationalDatabaseSnapshotRequest withRelationalDatabaseName(String relationalDatabaseName)
The name of the database on which to base your new snapshot.
relationalDatabaseName - The name of the database on which to base your new snapshot.public void setRelationalDatabaseSnapshotName(String relationalDatabaseSnapshotName)
The name for your new database snapshot.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
relationalDatabaseSnapshotName - The name for your new database snapshot.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
public String getRelationalDatabaseSnapshotName()
The name for your new database snapshot.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
public CreateRelationalDatabaseSnapshotRequest withRelationalDatabaseSnapshotName(String relationalDatabaseSnapshotName)
The name for your new database snapshot.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
relationalDatabaseSnapshotName - The name for your new database snapshot.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.
public List<Tag> getTags()
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
Use the TagResource action to tag a resource after it's created.
public void setTags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
public CreateRelationalDatabaseSnapshotRequest withTags(Tag... tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
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 tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
public CreateRelationalDatabaseSnapshotRequest withTags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
public String toString()
toString in class ObjectObject.toString()public CreateRelationalDatabaseSnapshotRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()