@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBClusterSnapshotAttributesResult extends Object implements Serializable, Cloneable
Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes API action.
Manual DB cluster snapshot attributes are used to authorize other Amazon accounts to copy or restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.
Constructor and Description |
---|
DBClusterSnapshotAttributesResult() |
Modifier and Type | Method and Description |
---|---|
DBClusterSnapshotAttributesResult |
clone() |
boolean |
equals(Object obj) |
List<DBClusterSnapshotAttribute> |
getDBClusterSnapshotAttributes()
The list of attributes and values for the manual DB cluster snapshot.
|
String |
getDBClusterSnapshotIdentifier()
The identifier of the manual DB cluster snapshot that the attributes apply to.
|
int |
hashCode() |
void |
setDBClusterSnapshotAttributes(Collection<DBClusterSnapshotAttribute> dBClusterSnapshotAttributes)
The list of attributes and values for the manual DB cluster snapshot.
|
void |
setDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
The identifier of the manual DB cluster snapshot that the attributes apply to.
|
String |
toString()
Returns a string representation of this object.
|
DBClusterSnapshotAttributesResult |
withDBClusterSnapshotAttributes(Collection<DBClusterSnapshotAttribute> dBClusterSnapshotAttributes)
The list of attributes and values for the manual DB cluster snapshot.
|
DBClusterSnapshotAttributesResult |
withDBClusterSnapshotAttributes(DBClusterSnapshotAttribute... dBClusterSnapshotAttributes)
The list of attributes and values for the manual DB cluster snapshot.
|
DBClusterSnapshotAttributesResult |
withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
The identifier of the manual DB cluster snapshot that the attributes apply to.
|
public void setDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
The identifier of the manual DB cluster snapshot that the attributes apply to.
dBClusterSnapshotIdentifier
- The identifier of the manual DB cluster snapshot that the attributes apply to.public String getDBClusterSnapshotIdentifier()
The identifier of the manual DB cluster snapshot that the attributes apply to.
public DBClusterSnapshotAttributesResult withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
The identifier of the manual DB cluster snapshot that the attributes apply to.
dBClusterSnapshotIdentifier
- The identifier of the manual DB cluster snapshot that the attributes apply to.public List<DBClusterSnapshotAttribute> getDBClusterSnapshotAttributes()
The list of attributes and values for the manual DB cluster snapshot.
public void setDBClusterSnapshotAttributes(Collection<DBClusterSnapshotAttribute> dBClusterSnapshotAttributes)
The list of attributes and values for the manual DB cluster snapshot.
dBClusterSnapshotAttributes
- The list of attributes and values for the manual DB cluster snapshot.public DBClusterSnapshotAttributesResult withDBClusterSnapshotAttributes(DBClusterSnapshotAttribute... dBClusterSnapshotAttributes)
The list of attributes and values for the manual DB cluster snapshot.
NOTE: This method appends the values to the existing list (if any). Use
setDBClusterSnapshotAttributes(java.util.Collection)
or
withDBClusterSnapshotAttributes(java.util.Collection)
if you want to override the existing values.
dBClusterSnapshotAttributes
- The list of attributes and values for the manual DB cluster snapshot.public DBClusterSnapshotAttributesResult withDBClusterSnapshotAttributes(Collection<DBClusterSnapshotAttribute> dBClusterSnapshotAttributes)
The list of attributes and values for the manual DB cluster snapshot.
dBClusterSnapshotAttributes
- The list of attributes and values for the manual DB cluster snapshot.public String toString()
toString
in class Object
Object.toString()
public DBClusterSnapshotAttributesResult clone()