Interface CreateDbSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDbSnapshotRequest.Builder,CreateDbSnapshotRequest>,RdsRequest.Builder,SdkBuilder<CreateDbSnapshotRequest.Builder,CreateDbSnapshotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDbSnapshotRequest
public static interface CreateDbSnapshotRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<CreateDbSnapshotRequest.Builder,CreateDbSnapshotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDbSnapshotRequest.BuilderdbInstanceIdentifier(String dbInstanceIdentifier)The identifier of the DB instance that you want to create the snapshot of.CreateDbSnapshotRequest.BuilderdbSnapshotIdentifier(String dbSnapshotIdentifier)The identifier for the DB snapshot.CreateDbSnapshotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDbSnapshotRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDbSnapshotRequest.Buildertags(Collection<Tag> tags)Sets the value of the Tags property for this object.CreateDbSnapshotRequest.Buildertags(Consumer<Tag.Builder>... tags)Sets the value of the Tags property for this object.CreateDbSnapshotRequest.Buildertags(Tag... tags)Sets the value of the Tags property for this object.-
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
CreateDbSnapshotRequest.Builder dbSnapshotIdentifier(String dbSnapshotIdentifier)
The identifier for the DB snapshot.
Constraints:
-
Can't be null, empty, or blank
-
Must contain from 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example:
my-snapshot-id- Parameters:
dbSnapshotIdentifier- The identifier for the DB snapshot.Constraints:
-
Can't be null, empty, or blank
-
Must contain from 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example:
my-snapshot-id-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dbInstanceIdentifier
CreateDbSnapshotRequest.Builder dbInstanceIdentifier(String dbInstanceIdentifier)
The identifier of the DB instance that you want to create the snapshot of.
Constraints:
-
Must match the identifier of an existing DBInstance.
- Parameters:
dbInstanceIdentifier- The identifier of the DB instance that you want to create the snapshot of.Constraints:
-
Must match the identifier of an existing DBInstance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
CreateDbSnapshotRequest.Builder tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDbSnapshotRequest.Builder tags(Tag... tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDbSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateDbSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDbSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-