@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RdsDbSnapshotAttributeValue extends Object implements Serializable, Cloneable, StructuredPojo
The name and values of a manual Amazon RDS DB snapshot attribute. Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual DB snapshot.
| Constructor and Description |
|---|
RdsDbSnapshotAttributeValue() |
| Modifier and Type | Method and Description |
|---|---|
RdsDbSnapshotAttributeValue |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot.
|
String |
toString()
Returns a string representation of this object.
|
RdsDbSnapshotAttributeValue |
withAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot.
|
RdsDbSnapshotAttributeValue |
withAccountIds(String... accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot.
|
public List<String> getAccountIds()
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all
Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the accountIds
in RdsDbSnapshotAttributeValue, then the access preview uses the existing shared
accountIds for the snapshot.
If the access preview is for a new resource and you do not specify the specify the accountIds in
RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any attributes.
To propose deletion of an existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbSnapshotAttributeValue.
all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by
all Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the
accountIds in RdsDbSnapshotAttributeValue, then the access preview uses the
existing shared accountIds for the snapshot.
If the access preview is for a new resource and you do not specify the specify the
accountIds in RdsDbSnapshotAttributeValue, then the access preview considers
the snapshot without any attributes.
To propose deletion of an existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbSnapshotAttributeValue.
public void setAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all
Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the accountIds
in RdsDbSnapshotAttributeValue, then the access preview uses the existing shared
accountIds for the snapshot.
If the access preview is for a new resource and you do not specify the specify the accountIds in
RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any attributes.
To propose deletion of an existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbSnapshotAttributeValue.
accountIds - The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by
all Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the
accountIds in RdsDbSnapshotAttributeValue, then the access preview uses the
existing shared accountIds for the snapshot.
If the access preview is for a new resource and you do not specify the specify the accountIds
in RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any
attributes.
To propose deletion of an existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbSnapshotAttributeValue.
public RdsDbSnapshotAttributeValue withAccountIds(String... accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all
Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the accountIds
in RdsDbSnapshotAttributeValue, then the access preview uses the existing shared
accountIds for the snapshot.
If the access preview is for a new resource and you do not specify the specify the accountIds in
RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any attributes.
To propose deletion of an existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbSnapshotAttributeValue.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection) or withAccountIds(java.util.Collection) if you want to
override the existing values.
accountIds - The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by
all Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the
accountIds in RdsDbSnapshotAttributeValue, then the access preview uses the
existing shared accountIds for the snapshot.
If the access preview is for a new resource and you do not specify the specify the accountIds
in RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any
attributes.
To propose deletion of an existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbSnapshotAttributeValue.
public RdsDbSnapshotAttributeValue withAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by all
Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the accountIds
in RdsDbSnapshotAttributeValue, then the access preview uses the existing shared
accountIds for the snapshot.
If the access preview is for a new resource and you do not specify the specify the accountIds in
RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any attributes.
To propose deletion of an existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbSnapshotAttributeValue.
accountIds - The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the value
all is specified, then the Amazon RDS DB snapshot is public and can be copied or restored by
all Amazon Web Services accounts.
If the configuration is for an existing Amazon RDS DB snapshot and you do not specify the
accountIds in RdsDbSnapshotAttributeValue, then the access preview uses the
existing shared accountIds for the snapshot.
If the access preview is for a new resource and you do not specify the specify the accountIds
in RdsDbSnapshotAttributeValue, then the access preview considers the snapshot without any
attributes.
To propose deletion of an existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbSnapshotAttributeValue.
public String toString()
toString in class ObjectObject.toString()public RdsDbSnapshotAttributeValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.