public static interface CreateDbSnapshotRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<CreateDbSnapshotRequest.Builder,CreateDbSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CreateDbSnapshotRequest.Builder |
dbInstanceIdentifier(String dbInstanceIdentifier)
The identifier of the DB instance that you want to create the snapshot of.
|
CreateDbSnapshotRequest.Builder |
dbSnapshotIdentifier(String dbSnapshotIdentifier)
The identifier for the DB snapshot.
|
CreateDbSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDbSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDbSnapshotRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CreateDbSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CreateDbSnapshotRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
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
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
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.
dbInstanceIdentifier
- The identifier of the DB instance that you want to create the snapshot of.
Constraints:
Must match the identifier of an existing DBInstance.
CreateDbSnapshotRequest.Builder tags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.CreateDbSnapshotRequest.Builder tags(Tag... tags)
tags
- The new value for the Tags property for this object.CreateDbSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
CreateDbSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateDbSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.