Interface CreateServerlessCacheSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateServerlessCacheSnapshotRequest.Builder,CreateServerlessCacheSnapshotRequest>
,ElastiCacheRequest.Builder
,SdkBuilder<CreateServerlessCacheSnapshotRequest.Builder,CreateServerlessCacheSnapshotRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateServerlessCacheSnapshotRequest
public static interface CreateServerlessCacheSnapshotRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<CreateServerlessCacheSnapshotRequest.Builder,CreateServerlessCacheSnapshotRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
serverlessCacheSnapshotName
CreateServerlessCacheSnapshotRequest.Builder serverlessCacheSnapshotName(String serverlessCacheSnapshotName)
The name for the snapshot being created. Must be unique for the customer account. Available for Redis OSS and Serverless Memcached only. Must be between 1 and 255 characters.
- Parameters:
serverlessCacheSnapshotName
- The name for the snapshot being created. Must be unique for the customer account. Available for Redis OSS and Serverless Memcached only. Must be between 1 and 255 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCacheName
CreateServerlessCacheSnapshotRequest.Builder serverlessCacheName(String serverlessCacheName)
The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis OSS and Serverless Memcached only.
- Parameters:
serverlessCacheName
- The name of an existing serverless cache. The snapshot is created from this cache. Available for Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
CreateServerlessCacheSnapshotRequest.Builder kmsKeyId(String kmsKeyId)
The ID of the KMS key used to encrypt the snapshot. Available for Redis OSS and Serverless Memcached only. Default: NULL
- Parameters:
kmsKeyId
- The ID of the KMS key used to encrypt the snapshot. Available for Redis OSS and Serverless Memcached only. Default: NULL- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateServerlessCacheSnapshotRequest.Builder tags(Collection<Tag> tags)
A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.
- Parameters:
tags
- A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateServerlessCacheSnapshotRequest.Builder tags(Tag... tags)
A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.
- Parameters:
tags
- A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateServerlessCacheSnapshotRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to the snapshot resource. A tag is a key-value pair. Available for Redis OSS and Serverless Memcached only.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateServerlessCacheSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateServerlessCacheSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-