Class CfnServerlessCacheSnapshotPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnServerlessCacheSnapshotPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessCacheSnapshotPropsMixin>
- Enclosing class:
CfnServerlessCacheSnapshotPropsMixin
@Stability(Stable)
public static final class CfnServerlessCacheSnapshotPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessCacheSnapshotPropsMixin>
A fluent builder for
CfnServerlessCacheSnapshotPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot.serverlessCacheName(String serverlessCacheName) The name of an existing serverless cache.serverlessCacheSnapshotName(String serverlessCacheSnapshotName) The name of the serverless cache snapshot.A list of tags to be added to the serverless cache snapshot resource.
-
Method Details
-
create
@Stability(Stable) public static CfnServerlessCacheSnapshotPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServerlessCacheSnapshotPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServerlessCacheSnapshotPropsMixin.Builder.
-
kmsKeyId
The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot.Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.
- Parameters:
kmsKeyId- The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. This parameter is required.- Returns:
this- See Also:
-
serverlessCacheName
@Stability(Stable) public CfnServerlessCacheSnapshotPropsMixin.Builder serverlessCacheName(String serverlessCacheName) The name of an existing serverless cache.The snapshot is created from this cache.
- Parameters:
serverlessCacheName- The name of an existing serverless cache. This parameter is required.- Returns:
this- See Also:
-
serverlessCacheSnapshotName
@Stability(Stable) public CfnServerlessCacheSnapshotPropsMixin.Builder serverlessCacheSnapshotName(String serverlessCacheSnapshotName) The name of the serverless cache snapshot.Must be unique for the customer account. This value is stored as a lowercase string.
- Parameters:
serverlessCacheSnapshotName- The name of the serverless cache snapshot. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnServerlessCacheSnapshotPropsMixin.Builder tags(List<? extends CfnTag> tags) A list of tags to be added to the serverless cache snapshot resource.- Parameters:
tags- A list of tags to be added to the serverless cache snapshot resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServerlessCacheSnapshotPropsMixin>- Returns:
- a newly built instance of
CfnServerlessCacheSnapshotPropsMixin.
-