public static interface ModifyDBSnapshotAttributeRequest.Builder extends RDSRequest.Builder, CopyableBuilder<ModifyDBSnapshotAttributeRequest.Builder,ModifyDBSnapshotAttributeRequest>
Modifier and Type | Method and 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ModifyDBSnapshotAttributeRequest.Builder |
valuesToAdd(Collection<String> valuesToAdd)
A list of DB snapshot attributes to add to the attribute specified by
AttributeName . |
ModifyDBSnapshotAttributeRequest.Builder |
valuesToAdd(String... valuesToAdd)
A list of DB snapshot attributes to add to 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 . |
ModifyDBSnapshotAttributeRequest.Builder |
valuesToRemove(String... valuesToRemove)
A list of DB snapshot attributes to remove from the attribute specified by
AttributeName . |
build
requestOverrideConfig, requestOverrideConfig
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.
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.
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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.