Interface ModifyDbClusterSnapshotAttributeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyDbClusterSnapshotAttributeRequest.Builder,,ModifyDbClusterSnapshotAttributeRequest> NeptuneRequest.Builder,SdkBuilder<ModifyDbClusterSnapshotAttributeRequest.Builder,,ModifyDbClusterSnapshotAttributeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyDbClusterSnapshotAttributeRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributeName(String attributeName) The name of the DB cluster snapshot attribute to modify.dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier) The identifier for the DB cluster snapshot to modify the attributes for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.valuesToAdd(String... valuesToAdd) A list of DB cluster snapshot attributes to add to the attribute specified byAttributeName.valuesToAdd(Collection<String> valuesToAdd) A list of DB cluster snapshot attributes to add to the attribute specified byAttributeName.valuesToRemove(String... valuesToRemove) A list of DB cluster snapshot attributes to remove from the attribute specified byAttributeName.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
The name of the DB cluster snapshot attribute to modify.
To manage authorization for other Amazon accounts to copy or restore a manual DB cluster snapshot, set this value to
restore.- Parameters:
attributeName- The name of the DB cluster snapshot attribute to modify.To manage authorization for other Amazon accounts to copy or restore a manual DB cluster snapshot, set this value to
restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToAdd
A list of DB cluster snapshot attributes to add to the attribute specified by
AttributeName.To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or
allto make the manual DB cluster snapshot restorable by any Amazon account. Do not add theallvalue for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon accounts.- Parameters:
valuesToAdd- A list of DB cluster snapshot attributes to add to the attribute specified byAttributeName.To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or
allto make the manual DB cluster snapshot restorable by any Amazon account. Do not add theallvalue for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToAdd
A list of DB cluster snapshot attributes to add to the attribute specified by
AttributeName.To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or
allto make the manual DB cluster snapshot restorable by any Amazon account. Do not add theallvalue for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon accounts.- Parameters:
valuesToAdd- A list of DB cluster snapshot attributes to add to the attribute specified byAttributeName.To authorize other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account IDs, or
allto make the manual DB cluster snapshot restorable by any Amazon account. Do not add theallvalue for any manual DB cluster snapshots that contain private information that you don't want available to all Amazon accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToRemove
A list of DB cluster snapshot attributes to remove from the attribute specified by
AttributeName.To remove authorization for other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or
allto remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specifyall, an Amazon account whose account ID is explicitly added to therestoreattribute 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 accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or
allto remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specifyall, an Amazon account whose account ID is explicitly added to therestoreattribute 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
A list of DB cluster snapshot attributes to remove from the attribute specified by
AttributeName.To remove authorization for other Amazon accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or
allto remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specifyall, an Amazon account whose account ID is explicitly added to therestoreattribute 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 accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more Amazon account identifiers, or
allto remove authorization for any Amazon account to copy or restore the DB cluster snapshot. If you specifyall, an Amazon account whose account ID is explicitly added to therestoreattribute 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyDbClusterSnapshotAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-