Class CfnClusterPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudhsm.CfnClusterPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin>
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static final class CfnClusterPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin>
A fluent builder for
CfnClusterPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbackupRetentionPolicy(CfnClusterPropsMixin.BackupRetentionPolicyProperty backupRetentionPolicy) A policy that defines how the service retains backups.backupRetentionPolicy(IResolvable backupRetentionPolicy) A policy that defines how the service retains backups.build()static CfnClusterPropsMixin.Buildercreate()static CfnClusterPropsMixin.Buildercreate(CfnPropertyMixinOptions options) The type of HSM to use in the cluster.The mode to use in the cluster.networkType(String networkType) The NetworkType to create a cluster with.The identifiers (IDs) of the subnets where the cluster is created.tags(List<? extends CfnClusterPropsMixin.TagsItemsProperty> tags) Tags to apply to the CloudHSM cluster.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnClusterPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnClusterPropsMixin.Builder.
-
backupRetentionPolicy
@Stability(Stable) public CfnClusterPropsMixin.Builder backupRetentionPolicy(IResolvable backupRetentionPolicy) A policy that defines how the service retains backups.- Parameters:
backupRetentionPolicy- A policy that defines how the service retains backups. This parameter is required.- Returns:
this- See Also:
-
backupRetentionPolicy
@Stability(Stable) public CfnClusterPropsMixin.Builder backupRetentionPolicy(CfnClusterPropsMixin.BackupRetentionPolicyProperty backupRetentionPolicy) A policy that defines how the service retains backups.- Parameters:
backupRetentionPolicy- A policy that defines how the service retains backups. This parameter is required.- Returns:
this- See Also:
-
hsmType
The type of HSM to use in the cluster.- Parameters:
hsmType- The type of HSM to use in the cluster. This parameter is required.- Returns:
this- See Also:
-
mode
The mode to use in the cluster.- Parameters:
mode- The mode to use in the cluster. This parameter is required.- Returns:
this- See Also:
-
networkType
The NetworkType to create a cluster with.- Parameters:
networkType- The NetworkType to create a cluster with. This parameter is required.- Returns:
this- See Also:
-
subnetIds
The identifiers (IDs) of the subnets where the cluster is created.You must specify at least one subnet.
- Parameters:
subnetIds- The identifiers (IDs) of the subnets where the cluster is created. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnClusterPropsMixin.Builder tags(List<? extends CfnClusterPropsMixin.TagsItemsProperty> tags) Tags to apply to the CloudHSM cluster.- Parameters:
tags- Tags to apply to the CloudHSM cluster. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin>- Returns:
- a newly built instance of
CfnClusterPropsMixin.
-