public static interface CreateSnapshotRequest.Builder extends MemoryDbRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotRequest.Builder |
clusterName(String clusterName)
The snapshot is created from this cluster.
|
CreateSnapshotRequest.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the snapshot.
|
CreateSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSnapshotRequest.Builder |
snapshotName(String snapshotName)
A name for the snapshot being created.
|
CreateSnapshotRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
CreateSnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource.
|
CreateSnapshotRequest.Builder |
tags(Tag... tags)
A list of tags to be added to this resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotRequest.Builder clusterName(String clusterName)
The snapshot is created from this cluster.
clusterName - The snapshot is created from this cluster.CreateSnapshotRequest.Builder snapshotName(String snapshotName)
A name for the snapshot being created.
snapshotName - A name for the snapshot being created.CreateSnapshotRequest.Builder kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the snapshot.
kmsKeyId - The ID of the KMS key used to encrypt the snapshot.CreateSnapshotRequest.Builder tags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied
by a tag value, although null is accepted.CreateSnapshotRequest.Builder tags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied
by a tag value, although null is accepted.CreateSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.