@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RdsDbClusterSnapshotAttributeValue extends Object implements Serializable, Cloneable, StructuredPojo
The values for a manual Amazon RDS DB cluster snapshot attribute.
| Constructor and Description |
|---|
RdsDbClusterSnapshotAttributeValue() |
| Modifier and Type | Method and Description |
|---|---|
RdsDbClusterSnapshotAttributeValue |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster 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 cluster snapshot.
|
String |
toString()
Returns a string representation of this object.
|
RdsDbClusterSnapshotAttributeValue |
withAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot.
|
RdsDbClusterSnapshotAttributeValue |
withAccountIds(String... accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot.
|
public List<String> getAccountIds()
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot. If the value
all is specified, then the Amazon RDS DB cluster 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 cluster snapshot and you do not specify the
accountIds in RdsDbClusterSnapshotAttributeValue, 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
RdsDbClusterSnapshotAttributeValue, then the access preview considers the snapshot without any
attributes.
To propose deletion of existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbClusterSnapshotAttributeValue.
all is specified, then the Amazon RDS DB cluster 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 cluster snapshot and you do not specify the
accountIds in RdsDbClusterSnapshotAttributeValue, 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 RdsDbClusterSnapshotAttributeValue, then the access preview
considers the snapshot without any attributes.
To propose deletion of existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbClusterSnapshotAttributeValue.
public void setAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot. If the value
all is specified, then the Amazon RDS DB cluster 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 cluster snapshot and you do not specify the
accountIds in RdsDbClusterSnapshotAttributeValue, 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
RdsDbClusterSnapshotAttributeValue, then the access preview considers the snapshot without any
attributes.
To propose deletion of existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbClusterSnapshotAttributeValue.
accountIds - The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot. If the
value all is specified, then the Amazon RDS DB cluster 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 cluster snapshot and you do not specify the
accountIds in RdsDbClusterSnapshotAttributeValue, 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 RdsDbClusterSnapshotAttributeValue, then the access preview considers the snapshot without
any attributes.
To propose deletion of existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbClusterSnapshotAttributeValue.
public RdsDbClusterSnapshotAttributeValue withAccountIds(String... accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot. If the value
all is specified, then the Amazon RDS DB cluster 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 cluster snapshot and you do not specify the
accountIds in RdsDbClusterSnapshotAttributeValue, 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
RdsDbClusterSnapshotAttributeValue, then the access preview considers the snapshot without any
attributes.
To propose deletion of existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbClusterSnapshotAttributeValue.
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 cluster snapshot. If the
value all is specified, then the Amazon RDS DB cluster 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 cluster snapshot and you do not specify the
accountIds in RdsDbClusterSnapshotAttributeValue, 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 RdsDbClusterSnapshotAttributeValue, then the access preview considers the snapshot without
any attributes.
To propose deletion of existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbClusterSnapshotAttributeValue.
public RdsDbClusterSnapshotAttributeValue withAccountIds(Collection<String> accountIds)
The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot. If the value
all is specified, then the Amazon RDS DB cluster 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 cluster snapshot and you do not specify the
accountIds in RdsDbClusterSnapshotAttributeValue, 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
RdsDbClusterSnapshotAttributeValue, then the access preview considers the snapshot without any
attributes.
To propose deletion of existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbClusterSnapshotAttributeValue.
accountIds - The Amazon Web Services account IDs that have access to the manual Amazon RDS DB cluster snapshot. If the
value all is specified, then the Amazon RDS DB cluster 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 cluster snapshot and you do not specify the
accountIds in RdsDbClusterSnapshotAttributeValue, 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 RdsDbClusterSnapshotAttributeValue, then the access preview considers the snapshot without
any attributes.
To propose deletion of existing shared accountIds, you can specify an empty list for
accountIds in the RdsDbClusterSnapshotAttributeValue.
public String toString()
toString in class ObjectObject.toString()public RdsDbClusterSnapshotAttributeValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.