public static interface CopySnapshotRequest.Builder extends MemoryDbRequest.Builder, SdkPojo, CopyableBuilder<CopySnapshotRequest.Builder,CopySnapshotRequest>
| Modifier and Type | Method and Description |
|---|---|
CopySnapshotRequest.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the target snapshot.
|
CopySnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CopySnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CopySnapshotRequest.Builder |
sourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to make a copy.
|
CopySnapshotRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
CopySnapshotRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource.
|
CopySnapshotRequest.Builder |
tags(Tag... tags)
A list of tags to be added to this resource.
|
CopySnapshotRequest.Builder |
targetBucket(String targetBucket)
The Amazon S3 bucket to which the snapshot is exported.
|
CopySnapshotRequest.Builder |
targetSnapshotName(String targetSnapshotName)
A name for the snapshot copy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCopySnapshotRequest.Builder sourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to make a copy.
sourceSnapshotName - The name of an existing snapshot from which to make a copy.CopySnapshotRequest.Builder targetSnapshotName(String targetSnapshotName)
A name for the snapshot copy. MemoryDB does not permit overwriting a snapshot, therefore this name must be unique within its context - MemoryDB or an Amazon S3 bucket if exporting.
targetSnapshotName - A name for the snapshot copy. MemoryDB does not permit overwriting a snapshot, therefore this name
must be unique within its context - MemoryDB or an Amazon S3 bucket if exporting.CopySnapshotRequest.Builder targetBucket(String targetBucket)
The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access. When using this parameter to export a snapshot, be sure MemoryDB has the needed permissions to this S3 bucket. For more information, see Step 2: Grant MemoryDB Access to Your Amazon S3 Bucket.
targetBucket - The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a
snapshot for external access. When using this parameter to export a snapshot, be sure MemoryDB has the
needed permissions to this S3 bucket. For more information, see Step 2: Grant
MemoryDB Access to Your Amazon S3 Bucket.CopySnapshotRequest.Builder kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the target snapshot.
kmsKeyId - The ID of the KMS key used to encrypt the target snapshot.CopySnapshotRequest.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.CopySnapshotRequest.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.CopySnapshotRequest.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 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) CopySnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCopySnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.