public static interface CreateClusterSnapshotRequest.Builder extends RedshiftRequest.Builder, CopyableBuilder<CreateClusterSnapshotRequest.Builder,CreateClusterSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
CreateClusterSnapshotRequest.Builder |
clusterIdentifier(String clusterIdentifier)
The cluster identifier for which you want a snapshot.
|
CreateClusterSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateClusterSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateClusterSnapshotRequest.Builder |
snapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot that you are requesting.
|
CreateClusterSnapshotRequest.Builder |
tags(Collection<Tag> tags)
A list of tag instances.
|
CreateClusterSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
|
CreateClusterSnapshotRequest.Builder |
tags(Tag... tags)
A list of tag instances.
|
build
overrideConfiguration
copy
applyMutation, build
CreateClusterSnapshotRequest.Builder snapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-snapshot-id
snapshotIdentifier
- A unique identifier for the snapshot that you are requesting. This identifier must be unique for all
snapshots within the AWS account.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-snapshot-id
CreateClusterSnapshotRequest.Builder clusterIdentifier(String clusterIdentifier)
The cluster identifier for which you want a snapshot.
clusterIdentifier
- The cluster identifier for which you want a snapshot.CreateClusterSnapshotRequest.Builder tags(Collection<Tag> tags)
A list of tag instances.
tags
- A list of tag instances.CreateClusterSnapshotRequest.Builder tags(Tag... tags)
A list of tag instances.
tags
- A list of tag instances.CreateClusterSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
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)
CreateClusterSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateClusterSnapshotRequest.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.