public static interface CreateDBClusterSnapshotRequest.Builder extends RDSRequest.Builder, CopyableBuilder<CreateDBClusterSnapshotRequest.Builder,CreateDBClusterSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CreateDBClusterSnapshotRequest.Builder |
dbClusterIdentifier(String dbClusterIdentifier)
The identifier of the DB cluster to create a snapshot for.
|
CreateDBClusterSnapshotRequest.Builder |
dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot.
|
CreateDBClusterSnapshotRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateDBClusterSnapshotRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDBClusterSnapshotRequest.Builder |
tags(Collection<Tag> tags)
The tags to be assigned to the DB cluster snapshot.
|
CreateDBClusterSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to the DB cluster snapshot.
|
CreateDBClusterSnapshotRequest.Builder |
tags(Tag... tags)
The tags to be assigned to the DB cluster snapshot.
|
build
requestOverrideConfig
copy
apply, build
CreateDBClusterSnapshotRequest.Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
dbClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
Must contain from 1 to 63 letters, numbers, or hyphens.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster1-snapshot1
CreateDBClusterSnapshotRequest.Builder dbClusterIdentifier(String dbClusterIdentifier)
The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Example: my-cluster1
dbClusterIdentifier
- The identifier of the DB cluster to create a snapshot for. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DBCluster.
Example: my-cluster1
CreateDBClusterSnapshotRequest.Builder tags(Collection<Tag> tags)
The tags to be assigned to the DB cluster snapshot.
tags
- The tags to be assigned to the DB cluster snapshot.CreateDBClusterSnapshotRequest.Builder tags(Tag... tags)
The tags to be assigned to the DB cluster snapshot.
tags
- The tags to be assigned to the DB cluster snapshot.CreateDBClusterSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to be assigned to the DB cluster snapshot.
This is a convenience that creates an instance of theList.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)
CreateDBClusterSnapshotRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateDBClusterSnapshotRequest.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.