CopyableBuilder<CreateClusterSnapshotRequest.Builder,CreateClusterSnapshotRequest>
, SdkBuilder<CreateClusterSnapshotRequest.Builder,CreateClusterSnapshotRequest>
public static interface CreateClusterSnapshotRequest.Builder extends CopyableBuilder<CreateClusterSnapshotRequest.Builder,CreateClusterSnapshotRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateClusterSnapshotRequest.Builder |
clusterIdentifier(String clusterIdentifier) |
The cluster identifier for which you want a snapshot.
|
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(Tag... tags) |
A list of tag instances.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tag instances.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.