public static interface CreateSnapshotRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotRequest.Builder,CreateSnapshotRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotRequest.Builder replicationGroupId(String replicationGroupId)
The identifier of an existing replication group. The snapshot is created from this replication group.
replicationGroupId - The identifier of an existing replication group. The snapshot is created from this replication group.CreateSnapshotRequest.Builder cacheClusterId(String cacheClusterId)
The identifier of an existing cluster. The snapshot is created from this cluster.
cacheClusterId - The identifier of an existing cluster. 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 © 2023. All rights reserved.