public class DescribeDBSnapshotAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeDBSnapshotAttributes operation.
Returns a list of DB snapshot attribute names and values for a manual DB snapshot.
When sharing snapshots with other AWS accounts,
DescribeDBSnapshotAttributes returns the
restore attribute and a list of the AWS account ids that
are authorized to copy or restore the manual DB snapshot. If
all is included in the list of values for the
restore attribute, then the manual DB snapshot is public
and can be copied or restored by all AWS accounts.
To add or remove access for an AWS account to copy or restore a manual DB snapshot, or to make the manual DB snapshot public or private, use the ModifyDBSnapshotAttribute API.
NOOP| Constructor and Description |
|---|
DescribeDBSnapshotAttributesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeDBSnapshotAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDBSnapshotIdentifier()
The identifier for the DB snapshot to modify the attributes for.
|
int |
hashCode() |
void |
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
The identifier for the DB snapshot to modify the attributes for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDBSnapshotAttributesRequest |
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
The identifier for the DB snapshot to modify the attributes for.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getDBSnapshotIdentifier()
public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
dBSnapshotIdentifier - The identifier for the DB snapshot to modify the attributes for.public DescribeDBSnapshotAttributesRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBSnapshotIdentifier - The identifier for the DB snapshot to modify the attributes for.public String toString()
toString in class ObjectObject.toString()public DescribeDBSnapshotAttributesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.