CopyableBuilder<ModifyDBSnapshotAttributeRequest.Builder,ModifyDBSnapshotAttributeRequest>
, SdkBuilder<ModifyDBSnapshotAttributeRequest.Builder,ModifyDBSnapshotAttributeRequest>
public static interface ModifyDBSnapshotAttributeRequest.Builder extends CopyableBuilder<ModifyDBSnapshotAttributeRequest.Builder,ModifyDBSnapshotAttributeRequest>
Modifier and Type | Method | Description |
---|---|---|
ModifyDBSnapshotAttributeRequest.Builder |
attributeName(String attributeName) |
The name of the DB snapshot attribute to modify.
|
ModifyDBSnapshotAttributeRequest.Builder |
dbSnapshotIdentifier(String dbSnapshotIdentifier) |
The identifier for the DB snapshot to modify the attributes for.
|
ModifyDBSnapshotAttributeRequest.Builder |
valuesToAdd(String... valuesToAdd) |
A list of DB snapshot attributes to add to the attribute specified by
AttributeName . |
ModifyDBSnapshotAttributeRequest.Builder |
valuesToAdd(Collection<String> valuesToAdd) |
A list of DB snapshot attributes to add to the attribute specified by
AttributeName . |
ModifyDBSnapshotAttributeRequest.Builder |
valuesToRemove(String... valuesToRemove) |
A list of DB snapshot attributes to remove from the attribute specified by
AttributeName . |
ModifyDBSnapshotAttributeRequest.Builder |
valuesToRemove(Collection<String> valuesToRemove) |
A list of DB snapshot attributes to remove from the attribute specified by
AttributeName . |
copy
apply, build
ModifyDBSnapshotAttributeRequest.Builder dbSnapshotIdentifier(String dbSnapshotIdentifier)
The identifier for the DB snapshot to modify the attributes for.
dbSnapshotIdentifier
- The identifier for the DB snapshot to modify the attributes for.ModifyDBSnapshotAttributeRequest.Builder attributeName(String attributeName)
The name of the DB snapshot attribute to modify.
To manage authorization for other AWS accounts to copy or restore a manual DB snapshot, set this value to
restore
.
attributeName
- The name of the DB snapshot attribute to modify.
To manage authorization for other AWS accounts to copy or restore a manual DB snapshot, set this value
to restore
.
ModifyDBSnapshotAttributeRequest.Builder valuesToAdd(Collection<String> valuesToAdd)
A list of DB snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or more
AWS account IDs, or all
to make the manual DB snapshot restorable by any AWS account. Do not add
the all
value for any manual DB snapshots that contain private information that you don't want
available to all AWS accounts.
valuesToAdd
- A list of DB snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or
more AWS account IDs, or all
to make the manual DB snapshot restorable by any AWS
account. Do not add the all
value for any manual DB snapshots that contain private
information that you don't want available to all AWS accounts.
ModifyDBSnapshotAttributeRequest.Builder valuesToAdd(String... valuesToAdd)
A list of DB snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or more
AWS account IDs, or all
to make the manual DB snapshot restorable by any AWS account. Do not add
the all
value for any manual DB snapshots that contain private information that you don't want
available to all AWS accounts.
NOTE: This method appends the values to the existing list (if any). Use
#setValuesToAdd(java.util.Collection)
or #withValuesToAdd(java.util.Collection)
if you want
to override the existing values.
valuesToAdd
- A list of DB snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other AWS accounts to copy or restore a manual snapshot, set this list to include one or
more AWS account IDs, or all
to make the manual DB snapshot restorable by any AWS
account. Do not add the all
value for any manual DB snapshots that contain private
information that you don't want available to all AWS accounts.
ModifyDBSnapshotAttributeRequest.Builder valuesToRemove(Collection<String> valuesToRemove)
A list of DB snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual snapshot, set this list to include
one or more AWS account identifiers, or all
to remove authorization for any AWS account to copy
or restore the DB snapshot. If you specify all
, an AWS account whose account ID is explicitly
added to the restore
attribute can still copy or restore the manual DB snapshot.
valuesToRemove
- A list of DB snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual snapshot, set this list to
include one or more AWS account identifiers, or all
to remove authorization for any AWS
account to copy or restore the DB snapshot. If you specify all
, an AWS account whose
account ID is explicitly added to the restore
attribute can still copy or restore the
manual DB snapshot.
ModifyDBSnapshotAttributeRequest.Builder valuesToRemove(String... valuesToRemove)
A list of DB snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual snapshot, set this list to include
one or more AWS account identifiers, or all
to remove authorization for any AWS account to copy
or restore the DB snapshot. If you specify all
, an AWS account whose account ID is explicitly
added to the restore
attribute can still copy or restore the manual DB snapshot.
NOTE: This method appends the values to the existing list (if any). Use
#setValuesToRemove(java.util.Collection)
or #withValuesToRemove(java.util.Collection)
if you
want to override the existing values.
valuesToRemove
- A list of DB snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual snapshot, set this list to
include one or more AWS account identifiers, or all
to remove authorization for any AWS
account to copy or restore the DB snapshot. If you specify all
, an AWS account whose
account ID is explicitly added to the restore
attribute can still copy or restore the
manual DB snapshot.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.