Interface RdsDbSnapshotAttributeValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RdsDbSnapshotAttributeValue.Builder,
,RdsDbSnapshotAttributeValue> SdkBuilder<RdsDbSnapshotAttributeValue.Builder,
,RdsDbSnapshotAttributeValue> SdkPojo
- Enclosing class:
RdsDbSnapshotAttributeValue
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(String... accountIds) The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot.accountIds
(Collection<String> accountIds) The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. -
If the access preview is for a new resource and you do not specify the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. -
To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
- Parameters:
accountIds
- The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the valueall
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
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. -
If the access preview is for a new resource and you do not specify the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. -
To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. -
If the access preview is for a new resource and you do not specify the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. -
To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
- Parameters:
accountIds
- The Amazon Web Services account IDs that have access to the manual Amazon RDS DB snapshot. If the valueall
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
inRdsDbSnapshotAttributeValue
, then the access preview uses the existing sharedaccountIds
for the snapshot. -
If the access preview is for a new resource and you do not specify the specify the
accountIds
inRdsDbSnapshotAttributeValue
, then the access preview considers the snapshot without any attributes. -
To propose deletion of an existing shared
accountIds
, you can specify an empty list foraccountIds
in theRdsDbSnapshotAttributeValue
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-