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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateDBSnapshotRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateDBSnapshotRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.