Interface ModifyDbClusterSnapshotAttributeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyDbClusterSnapshotAttributeRequest.Builder,ModifyDbClusterSnapshotAttributeRequest>
,RdsRequest.Builder
,SdkBuilder<ModifyDbClusterSnapshotAttributeRequest.Builder,ModifyDbClusterSnapshotAttributeRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyDbClusterSnapshotAttributeRequest
public static interface ModifyDbClusterSnapshotAttributeRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<ModifyDbClusterSnapshotAttributeRequest.Builder,ModifyDbClusterSnapshotAttributeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyDbClusterSnapshotAttributeRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ModifyDbClusterSnapshotAttributeRequest.Builder
valuesToAdd(String... valuesToAdd)
A list of DB cluster snapshot attributes to add to the attribute specified byAttributeName
.ModifyDbClusterSnapshotAttributeRequest.Builder
valuesToAdd(Collection<String> valuesToAdd)
A list of DB cluster snapshot attributes to add to the attribute specified byAttributeName
.ModifyDbClusterSnapshotAttributeRequest.Builder
valuesToRemove(String... valuesToRemove)
A list of DB cluster snapshot attributes to remove from the attribute specified byAttributeName
.ModifyDbClusterSnapshotAttributeRequest.Builder
valuesToRemove(Collection<String> valuesToRemove)
A list of DB cluster snapshot attributes to remove from the attribute specified byAttributeName
.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
dbClusterSnapshotIdentifier
ModifyDbClusterSnapshotAttributeRequest.Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier)
The identifier for the DB cluster snapshot to modify the attributes for.
- Parameters:
dbClusterSnapshotIdentifier
- The identifier for the DB cluster snapshot to modify the attributes for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeName
ModifyDbClusterSnapshotAttributeRequest.Builder attributeName(String attributeName)
The name of the DB cluster snapshot attribute to modify.
To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to
restore
.To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.
- Parameters:
attributeName
- The name of the DB cluster snapshot attribute to modify.To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this value to
restore
.To view the list of attributes available to modify, use the DescribeDBClusterSnapshotAttributes API operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToAdd
ModifyDbClusterSnapshotAttributeRequest.Builder valuesToAdd(Collection<String> valuesToAdd)
A list of DB cluster snapshot attributes to add to the attribute specified by
AttributeName
.To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or
all
to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add theall
value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.- Parameters:
valuesToAdd
- A list of DB cluster snapshot attributes to add to the attribute specified byAttributeName
.To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or
all
to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add theall
value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToAdd
ModifyDbClusterSnapshotAttributeRequest.Builder valuesToAdd(String... valuesToAdd)
A list of DB cluster snapshot attributes to add to the attribute specified by
AttributeName
.To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or
all
to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add theall
value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.- Parameters:
valuesToAdd
- A list of DB cluster snapshot attributes to add to the attribute specified byAttributeName
.To authorize other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account IDs, or
all
to make the manual DB cluster snapshot restorable by any Amazon Web Services account. Do not add theall
value for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon Web Services accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToRemove
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 Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or
all
to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specifyall
, an Amazon Web Services account whose account ID is explicitly added to therestore
attribute can still copy or restore a manual DB cluster snapshot.- Parameters:
valuesToRemove
- A list of DB cluster snapshot attributes to remove from the attribute specified byAttributeName
.To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or
all
to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specifyall
, an Amazon Web Services account whose account ID is explicitly added to therestore
attribute can still copy or restore a manual DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToRemove
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 Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or
all
to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specifyall
, an Amazon Web Services account whose account ID is explicitly added to therestore
attribute can still copy or restore a manual DB cluster snapshot.- Parameters:
valuesToRemove
- A list of DB cluster snapshot attributes to remove from the attribute specified byAttributeName
.To remove authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon Web Services account identifiers, or
all
to remove authorization for any Amazon Web Services account to copy or restore the DB cluster snapshot. If you specifyall
, an Amazon Web Services account whose account ID is explicitly added to therestore
attribute can still copy or restore a manual DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyDbClusterSnapshotAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyDbClusterSnapshotAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-