public static interface CreateDbSnapshotRequest.Builder extends RdsRequest.Builder, 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)
Add an optional request override configuration.
|
CreateDbSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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
copy
applyMutation, build
CreateDbSnapshotRequest.Builder dbSnapshotIdentifier(String dbSnapshotIdentifier)
The identifier for the DB snapshot.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-snapshot-id
dbSnapshotIdentifier
- The identifier for the DB snapshot.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot 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)
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateDbSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateDbSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.