Class CfnSnapshotPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.elasticache.CfnSnapshotPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSnapshotPropsMixin>
- Enclosing class:
CfnSnapshotPropsMixin
@Stability(Stable)
public static final class CfnSnapshotPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSnapshotPropsMixin>
A fluent builder for
CfnSnapshotPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()cacheClusterId(String cacheClusterId) The identifier of an existing cluster to create a snapshot from.create()create(CfnPropertyMixinOptions options) The ID of the KMS key used to encrypt the snapshot.replicationGroupId(String replicationGroupId) The identifier of an existing replication group to create a snapshot from.snapshotName(String snapshotName) The name of a snapshot.A list of tags to be added to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnSnapshotPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSnapshotPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSnapshotPropsMixin.Builder.
-
cacheClusterId
The identifier of an existing cluster to create a snapshot from.The snapshot is created from this cluster.
- Parameters:
cacheClusterId- The identifier of an existing cluster to create a snapshot from. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The ID of the KMS key used to encrypt the snapshot.- Parameters:
kmsKeyId- The ID of the KMS key used to encrypt the snapshot. This parameter is required.- Returns:
this- See Also:
-
replicationGroupId
@Stability(Stable) public CfnSnapshotPropsMixin.Builder replicationGroupId(String replicationGroupId) The identifier of an existing replication group to create a snapshot from.The snapshot is created from this replication group.
- Parameters:
replicationGroupId- The identifier of an existing replication group to create a snapshot from. This parameter is required.- Returns:
this- See Also:
-
snapshotName
The name of a snapshot.Must be unique within the customer account.
- Parameters:
snapshotName- The name of a snapshot. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to be added to this resource.- Parameters:
tags- A list of tags to be added to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSnapshotPropsMixin>- Returns:
- a newly built instance of
CfnSnapshotPropsMixin.
-