Class CloudhsmV2ClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.cloudhsm_v2_cluster.CloudhsmV2ClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudhsmV2ClusterConfig>
- Enclosing interface:
- CloudhsmV2ClusterConfig
@Stability(Stable) public static final class CloudhsmV2ClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<CloudhsmV2ClusterConfig>
A builder forCloudhsmV2ClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudhsmV2ClusterConfigbuild()Builds the configured instance.CloudhsmV2ClusterConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudhsmV2ClusterConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudhsmV2ClusterConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()CloudhsmV2ClusterConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()CloudhsmV2ClusterConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()CloudhsmV2ClusterConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()CloudhsmV2ClusterConfig.BuilderhsmType(String hsmType)Sets the value ofCloudhsmV2ClusterConfig.getHsmType()CloudhsmV2ClusterConfig.Builderid(String id)Sets the value ofCloudhsmV2ClusterConfig.getId()CloudhsmV2ClusterConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()CloudhsmV2ClusterConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()CloudhsmV2ClusterConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()CloudhsmV2ClusterConfig.BuildersourceBackupIdentifier(String sourceBackupIdentifier)Sets the value ofCloudhsmV2ClusterConfig.getSourceBackupIdentifier()CloudhsmV2ClusterConfig.BuildersubnetIds(List<String> subnetIds)Sets the value ofCloudhsmV2ClusterConfig.getSubnetIds()CloudhsmV2ClusterConfig.Buildertags(Map<String,String> tags)Sets the value ofCloudhsmV2ClusterConfig.getTags()CloudhsmV2ClusterConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofCloudhsmV2ClusterConfig.getTagsAll()CloudhsmV2ClusterConfig.Buildertimeouts(CloudhsmV2ClusterTimeouts timeouts)Sets the value ofCloudhsmV2ClusterConfig.getTimeouts()
-
-
-
Method Detail
-
hsmType
@Stability(Stable) public CloudhsmV2ClusterConfig.Builder hsmType(String hsmType)
Sets the value ofCloudhsmV2ClusterConfig.getHsmType()- Parameters:
hsmType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudhsm_v2_cluster#hsm_type CloudhsmV2Cluster#hsm_type}. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CloudhsmV2ClusterConfig.Builder subnetIds(List<String> subnetIds)
Sets the value ofCloudhsmV2ClusterConfig.getSubnetIds()- Parameters:
subnetIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudhsm_v2_cluster#subnet_ids CloudhsmV2Cluster#subnet_ids}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public CloudhsmV2ClusterConfig.Builder id(String id)
Sets the value ofCloudhsmV2ClusterConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudhsm_v2_cluster#id CloudhsmV2Cluster#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
sourceBackupIdentifier
@Stability(Stable) public CloudhsmV2ClusterConfig.Builder sourceBackupIdentifier(String sourceBackupIdentifier)
Sets the value ofCloudhsmV2ClusterConfig.getSourceBackupIdentifier()- Parameters:
sourceBackupIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudhsm_v2_cluster#source_backup_identifier CloudhsmV2Cluster#source_backup_identifier}.- Returns:
this
-
tags
@Stability(Stable) public CloudhsmV2ClusterConfig.Builder tags(Map<String,String> tags)
Sets the value ofCloudhsmV2ClusterConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudhsm_v2_cluster#tags CloudhsmV2Cluster#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public CloudhsmV2ClusterConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofCloudhsmV2ClusterConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudhsm_v2_cluster#tags_all CloudhsmV2Cluster#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public CloudhsmV2ClusterConfig.Builder timeouts(CloudhsmV2ClusterTimeouts timeouts)
Sets the value ofCloudhsmV2ClusterConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudhsm_v2_cluster#timeouts CloudhsmV2Cluster#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public CloudhsmV2ClusterConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CloudhsmV2ClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudhsmV2ClusterConfig>- Returns:
- a new instance of
CloudhsmV2ClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-