@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute extends Object implements Serializable, Cloneable, StructuredPojo
Contains the name and values of a manual Amazon Relational Database Service (RDS) DB cluster snapshot attribute.
Constructor and Description |
---|
AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute() |
Modifier and Type | Method and Description |
---|---|
AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the manual DB cluster snapshot attribute.
|
List<String> |
getAttributeValues()
The value(s) for the manual DB cluster snapshot attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The name of the manual DB cluster snapshot attribute.
|
void |
setAttributeValues(Collection<String> attributeValues)
The value(s) for the manual DB cluster snapshot attribute.
|
String |
toString()
Returns a string representation of this object.
|
AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute |
withAttributeName(String attributeName)
The name of the manual DB cluster snapshot attribute.
|
AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute |
withAttributeValues(Collection<String> attributeValues)
The value(s) for the manual DB cluster snapshot attribute.
|
AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute |
withAttributeValues(String... attributeValues)
The value(s) for the manual DB cluster snapshot attribute.
|
public AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute()
public void setAttributeName(String attributeName)
The name of the manual DB cluster snapshot attribute. The attribute named restore
refers to the list
of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot.
attributeName
- The name of the manual DB cluster snapshot attribute. The attribute named restore
refers to
the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster
snapshot.public String getAttributeName()
The name of the manual DB cluster snapshot attribute. The attribute named restore
refers to the list
of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot.
restore
refers to
the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster
snapshot.public AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute withAttributeName(String attributeName)
The name of the manual DB cluster snapshot attribute. The attribute named restore
refers to the list
of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot.
attributeName
- The name of the manual DB cluster snapshot attribute. The attribute named restore
refers to
the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster
snapshot.public List<String> getAttributeValues()
The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set to
restore
, then this element returns a list of IDs of the Amazon Web Services accounts that are
authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the list, then
the manual DB cluster snapshot is public and available for any Amazon Web Services account to copy or restore.
AttributeName
field is set
to restore
, then this element returns a list of IDs of the Amazon Web Services accounts that
are authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in
the list, then the manual DB cluster snapshot is public and available for any Amazon Web Services account
to copy or restore.public void setAttributeValues(Collection<String> attributeValues)
The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set to
restore
, then this element returns a list of IDs of the Amazon Web Services accounts that are
authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the list, then
the manual DB cluster snapshot is public and available for any Amazon Web Services account to copy or restore.
attributeValues
- The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set
to restore
, then this element returns a list of IDs of the Amazon Web Services accounts that
are authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the
list, then the manual DB cluster snapshot is public and available for any Amazon Web Services account to
copy or restore.public AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute withAttributeValues(String... attributeValues)
The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set to
restore
, then this element returns a list of IDs of the Amazon Web Services accounts that are
authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the list, then
the manual DB cluster snapshot is public and available for any Amazon Web Services account to copy or restore.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeValues(java.util.Collection)
or withAttributeValues(java.util.Collection)
if you
want to override the existing values.
attributeValues
- The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set
to restore
, then this element returns a list of IDs of the Amazon Web Services accounts that
are authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the
list, then the manual DB cluster snapshot is public and available for any Amazon Web Services account to
copy or restore.public AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute withAttributeValues(Collection<String> attributeValues)
The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set to
restore
, then this element returns a list of IDs of the Amazon Web Services accounts that are
authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the list, then
the manual DB cluster snapshot is public and available for any Amazon Web Services account to copy or restore.
attributeValues
- The value(s) for the manual DB cluster snapshot attribute. If the AttributeName
field is set
to restore
, then this element returns a list of IDs of the Amazon Web Services accounts that
are authorized to copy or restore the manual DB cluster snapshot. If a value of all
is in the
list, then the manual DB cluster snapshot is public and available for any Amazon Web Services account to
copy or restore.public String toString()
toString
in class Object
Object.toString()
public AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.