Interface ModifyDbSnapshotAttributeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyDbSnapshotAttributeRequest.Builder,ModifyDbSnapshotAttributeRequest>,RdsRequest.Builder,SdkBuilder<ModifyDbSnapshotAttributeRequest.Builder,ModifyDbSnapshotAttributeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifyDbSnapshotAttributeRequest
public static interface ModifyDbSnapshotAttributeRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<ModifyDbSnapshotAttributeRequest.Builder,ModifyDbSnapshotAttributeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyDbSnapshotAttributeRequest.BuilderattributeName(String attributeName)The name of the DB snapshot attribute to modify.ModifyDbSnapshotAttributeRequest.BuilderdbSnapshotIdentifier(String dbSnapshotIdentifier)The identifier for the DB snapshot to modify the attributes for.ModifyDbSnapshotAttributeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyDbSnapshotAttributeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifyDbSnapshotAttributeRequest.BuildervaluesToAdd(String... valuesToAdd)A list of DB snapshot attributes to add to the attribute specified byAttributeName.ModifyDbSnapshotAttributeRequest.BuildervaluesToAdd(Collection<String> valuesToAdd)A list of DB snapshot attributes to add to the attribute specified byAttributeName.ModifyDbSnapshotAttributeRequest.BuildervaluesToRemove(String... valuesToRemove)A list of DB snapshot attributes to remove from the attribute specified byAttributeName.ModifyDbSnapshotAttributeRequest.BuildervaluesToRemove(Collection<String> valuesToRemove)A list of DB 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dbSnapshotIdentifier
ModifyDbSnapshotAttributeRequest.Builder dbSnapshotIdentifier(String dbSnapshotIdentifier)
The identifier for the DB snapshot to modify the attributes for.
- Parameters:
dbSnapshotIdentifier- The identifier for the DB snapshot to modify the attributes for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeName
ModifyDbSnapshotAttributeRequest.Builder attributeName(String attributeName)
The name of the DB snapshot attribute to modify.
To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, set this value to
restore.To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.
- Parameters:
attributeName- The name of the DB snapshot attribute to modify.To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, set this value to
restore.To view the list of attributes available to modify, use the DescribeDBSnapshotAttributes API operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToAdd
ModifyDbSnapshotAttributeRequest.Builder valuesToAdd(Collection<String> valuesToAdd)
A list of DB snapshot attributes to add to the attribute specified by
AttributeName.To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account IDs, or
allto make the manual DB snapshot restorable by any Amazon Web Services account. Do not add theallvalue for any manual DB snapshots that contain private information that you don't want available to all Amazon Web Services accounts.- Parameters:
valuesToAdd- A list of DB snapshot attributes to add to the attribute specified byAttributeName.To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account IDs, or
allto make the manual DB snapshot restorable by any Amazon Web Services account. Do not add theallvalue for any manual DB 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
ModifyDbSnapshotAttributeRequest.Builder valuesToAdd(String... valuesToAdd)
A list of DB snapshot attributes to add to the attribute specified by
AttributeName.To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account IDs, or
allto make the manual DB snapshot restorable by any Amazon Web Services account. Do not add theallvalue for any manual DB snapshots that contain private information that you don't want available to all Amazon Web Services accounts.- Parameters:
valuesToAdd- A list of DB snapshot attributes to add to the attribute specified byAttributeName.To authorize other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account IDs, or
allto make the manual DB snapshot restorable by any Amazon Web Services account. Do not add theallvalue for any manual DB 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
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 Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account identifiers, or
allto remove authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specifyall, an Amazon Web Services account whose account ID is explicitly added to therestoreattribute can still copy or restore the manual DB snapshot.- Parameters:
valuesToRemove- A list of DB snapshot attributes to remove from the attribute specified byAttributeName.To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account identifiers, or
allto remove authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specifyall, an Amazon Web Services account whose account ID is explicitly added to therestoreattribute can still copy or restore the manual DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valuesToRemove
ModifyDbSnapshotAttributeRequest.Builder valuesToRemove(String... valuesToRemove)
A list of DB 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 snapshot, set this list to include one or more Amazon Web Services account identifiers, or
allto remove authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specifyall, an Amazon Web Services account whose account ID is explicitly added to therestoreattribute can still copy or restore the manual DB snapshot.- Parameters:
valuesToRemove- A list of DB snapshot attributes to remove from the attribute specified byAttributeName.To remove authorization for other Amazon Web Services accounts to copy or restore a manual snapshot, set this list to include one or more Amazon Web Services account identifiers, or
allto remove authorization for any Amazon Web Services account to copy or restore the DB snapshot. If you specifyall, an Amazon Web Services account whose account ID is explicitly added to therestoreattribute can still copy or restore the manual DB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyDbSnapshotAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyDbSnapshotAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-