CopyableBuilder<ModifyDBClusterSnapshotAttributeRequest.Builder,ModifyDBClusterSnapshotAttributeRequest>
, SdkBuilder<ModifyDBClusterSnapshotAttributeRequest.Builder,ModifyDBClusterSnapshotAttributeRequest>
public static interface ModifyDBClusterSnapshotAttributeRequest.Builder extends CopyableBuilder<ModifyDBClusterSnapshotAttributeRequest.Builder,ModifyDBClusterSnapshotAttributeRequest>
Modifier and Type | Method | Description |
---|---|---|
ModifyDBClusterSnapshotAttributeRequest.Builder |
attributeName(String attributeName) |
The name of the DB cluster snapshot attribute to modify.
|
ModifyDBClusterSnapshotAttributeRequest.Builder |
dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier) |
The identifier for the DB cluster snapshot to modify the attributes for.
|
ModifyDBClusterSnapshotAttributeRequest.Builder |
valuesToAdd(String... valuesToAdd) |
A list of DB cluster snapshot attributes to add to the attribute specified by
AttributeName . |
ModifyDBClusterSnapshotAttributeRequest.Builder |
valuesToAdd(Collection<String> valuesToAdd) |
A list of DB cluster snapshot attributes to add to the attribute specified by
AttributeName . |
ModifyDBClusterSnapshotAttributeRequest.Builder |
valuesToRemove(String... valuesToRemove) |
A list of DB cluster snapshot attributes to remove from the attribute specified by
AttributeName
. |
ModifyDBClusterSnapshotAttributeRequest.Builder |
valuesToRemove(Collection<String> valuesToRemove) |
A list of DB cluster snapshot attributes to remove from the attribute specified by
AttributeName
. |
copy
apply, build
ModifyDBClusterSnapshotAttributeRequest.Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier)
The identifier for the DB cluster snapshot to modify the attributes for.
dbClusterSnapshotIdentifier
- The identifier for the DB cluster snapshot to modify the attributes for.ModifyDBClusterSnapshotAttributeRequest.Builder attributeName(String attributeName)
The name of the DB cluster snapshot attribute to modify.
To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this
value to restore
.
attributeName
- The name of the DB cluster snapshot attribute to modify.
To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set
this value to restore
.
ModifyDBClusterSnapshotAttributeRequest.Builder valuesToAdd(Collection<String> valuesToAdd)
A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one
or more AWS account IDs, or all
to make the manual DB cluster snapshot restorable by any AWS
account. Do not add the all
value for any manual DB cluster snapshots that contain private
information that you don't want available to all AWS accounts.
valuesToAdd
- A list of DB cluster snapshot attributes to add to the attribute specified by
AttributeName
.
To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to
include one or more AWS account IDs, or all
to make the manual DB cluster snapshot
restorable by any AWS account. Do not add the all
value for any manual DB cluster
snapshots that contain private information that you don't want available to all AWS accounts.
ModifyDBClusterSnapshotAttributeRequest.Builder valuesToAdd(String... valuesToAdd)
A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one
or more AWS account IDs, or all
to make the manual DB cluster snapshot restorable by any AWS
account. Do not add the all
value for any manual DB cluster 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 cluster snapshot attributes to add to the attribute specified by
AttributeName
.
To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to
include one or more AWS account IDs, or all
to make the manual DB cluster snapshot
restorable by any AWS account. Do not add the all
value for any manual DB cluster
snapshots that contain private information that you don't want available to all AWS accounts.
ModifyDBClusterSnapshotAttributeRequest.Builder valuesToRemove(Collection<String> valuesToRemove)
A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual DB cluster 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 cluster snapshot. If you specify all
, an AWS account whose
account ID is explicitly added to the restore
attribute can still copy or restore a manual DB
cluster snapshot.
valuesToRemove
- A list of DB cluster snapshot attributes to remove from the attribute specified by
AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual DB cluster 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 cluster snapshot. If you specify all
, an
AWS account whose account ID is explicitly added to the restore
attribute can still copy
or restore a manual DB cluster snapshot.
ModifyDBClusterSnapshotAttributeRequest.Builder valuesToRemove(String... valuesToRemove)
A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual DB cluster 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 cluster snapshot. If you specify all
, an AWS account whose
account ID is explicitly added to the restore
attribute can still copy or restore a manual DB
cluster 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 cluster snapshot attributes to remove from the attribute specified by
AttributeName
.
To remove authorization for other AWS accounts to copy or restore a manual DB cluster 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 cluster snapshot. If you specify all
, an
AWS account whose account ID is explicitly added to the restore
attribute can still copy
or restore a manual DB cluster snapshot.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.