public class DBSnapshotAttributesResult extends Object implements Serializable, Cloneable
Contains the results of a successful call to the DescribeDBSnapshotAttributes API.
Manual DB snapshot attributes are used to authorize other AWS accounts to copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute API.
Constructor and Description |
---|
DBSnapshotAttributesResult() |
Modifier and Type | Method and Description |
---|---|
DBSnapshotAttributesResult |
clone() |
boolean |
equals(Object obj) |
List<DBSnapshotAttribute> |
getDBSnapshotAttributes()
The list of attributes and values for the manual DB snapshot.
|
String |
getDBSnapshotIdentifier()
The identifier of the manual DB snapshot that the attributes apply to.
|
int |
hashCode() |
void |
setDBSnapshotAttributes(Collection<DBSnapshotAttribute> dBSnapshotAttributes)
The list of attributes and values for the manual DB snapshot.
|
void |
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
The identifier of the manual DB snapshot that the attributes apply to.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DBSnapshotAttributesResult |
withDBSnapshotAttributes(Collection<DBSnapshotAttribute> dBSnapshotAttributes)
The list of attributes and values for the manual DB snapshot.
|
DBSnapshotAttributesResult |
withDBSnapshotAttributes(DBSnapshotAttribute... dBSnapshotAttributes)
The list of attributes and values for the manual DB snapshot.
|
DBSnapshotAttributesResult |
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
The identifier of the manual DB snapshot that the attributes apply to.
|
public String getDBSnapshotIdentifier()
public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
dBSnapshotIdentifier
- The identifier of the manual DB snapshot that the attributes apply to.public DBSnapshotAttributesResult withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBSnapshotIdentifier
- The identifier of the manual DB snapshot that the attributes apply to.public List<DBSnapshotAttribute> getDBSnapshotAttributes()
public void setDBSnapshotAttributes(Collection<DBSnapshotAttribute> dBSnapshotAttributes)
dBSnapshotAttributes
- The list of attributes and values for the manual DB snapshot.public DBSnapshotAttributesResult withDBSnapshotAttributes(DBSnapshotAttribute... dBSnapshotAttributes)
NOTE: This method appends the values to the existing list (if
any). Use setDBSnapshotAttributes(java.util.Collection)
or
withDBSnapshotAttributes(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.
dBSnapshotAttributes
- The list of attributes and values for the manual DB snapshot.public DBSnapshotAttributesResult withDBSnapshotAttributes(Collection<DBSnapshotAttribute> dBSnapshotAttributes)
Returns a reference to this object so that method calls can be chained together.
dBSnapshotAttributes
- The list of attributes and values for the manual DB snapshot.public String toString()
toString
in class Object
Object.toString()
public DBSnapshotAttributesResult clone()
Copyright © 2015. All rights reserved.