Class DaxClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.dax_cluster.DaxClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DaxClusterConfig>
- Enclosing interface:
- DaxClusterConfig
@Stability(Stable) public static final class DaxClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<DaxClusterConfig>
A builder forDaxClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
clusterName
@Stability(Stable) public DaxClusterConfig.Builder clusterName(String clusterName)
Sets the value ofDaxClusterConfig.getClusterName()- Parameters:
clusterName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#cluster_name DaxCluster#cluster_name}. This parameter is required.- Returns:
this
-
iamRoleArn
@Stability(Stable) public DaxClusterConfig.Builder iamRoleArn(String iamRoleArn)
Sets the value ofDaxClusterConfig.getIamRoleArn()- Parameters:
iamRoleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#iam_role_arn DaxCluster#iam_role_arn}. This parameter is required.- Returns:
this
-
nodeType
@Stability(Stable) public DaxClusterConfig.Builder nodeType(String nodeType)
Sets the value ofDaxClusterConfig.getNodeType()- Parameters:
nodeType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#node_type DaxCluster#node_type}. This parameter is required.- Returns:
this
-
replicationFactor
@Stability(Stable) public DaxClusterConfig.Builder replicationFactor(Number replicationFactor)
Sets the value ofDaxClusterConfig.getReplicationFactor()- Parameters:
replicationFactor- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#replication_factor DaxCluster#replication_factor}. This parameter is required.- Returns:
this
-
availabilityZones
@Stability(Stable) public DaxClusterConfig.Builder availabilityZones(List<String> availabilityZones)
Sets the value ofDaxClusterConfig.getAvailabilityZones()- Parameters:
availabilityZones- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#availability_zones DaxCluster#availability_zones}.- Returns:
this
-
clusterEndpointEncryptionType
@Stability(Stable) public DaxClusterConfig.Builder clusterEndpointEncryptionType(String clusterEndpointEncryptionType)
Sets the value ofDaxClusterConfig.getClusterEndpointEncryptionType()- Parameters:
clusterEndpointEncryptionType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#cluster_endpoint_encryption_type DaxCluster#cluster_endpoint_encryption_type}.- Returns:
this
-
description
@Stability(Stable) public DaxClusterConfig.Builder description(String description)
Sets the value ofDaxClusterConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#description DaxCluster#description}.- Returns:
this
-
id
@Stability(Stable) public DaxClusterConfig.Builder id(String id)
Sets the value ofDaxClusterConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#id DaxCluster#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
-
maintenanceWindow
@Stability(Stable) public DaxClusterConfig.Builder maintenanceWindow(String maintenanceWindow)
Sets the value ofDaxClusterConfig.getMaintenanceWindow()- Parameters:
maintenanceWindow- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#maintenance_window DaxCluster#maintenance_window}.- Returns:
this
-
notificationTopicArn
@Stability(Stable) public DaxClusterConfig.Builder notificationTopicArn(String notificationTopicArn)
Sets the value ofDaxClusterConfig.getNotificationTopicArn()- Parameters:
notificationTopicArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#notification_topic_arn DaxCluster#notification_topic_arn}.- Returns:
this
-
parameterGroupName
@Stability(Stable) public DaxClusterConfig.Builder parameterGroupName(String parameterGroupName)
Sets the value ofDaxClusterConfig.getParameterGroupName()- Parameters:
parameterGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#parameter_group_name DaxCluster#parameter_group_name}.- Returns:
this
-
securityGroupIds
@Stability(Stable) public DaxClusterConfig.Builder securityGroupIds(List<String> securityGroupIds)
Sets the value ofDaxClusterConfig.getSecurityGroupIds()- Parameters:
securityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#security_group_ids DaxCluster#security_group_ids}.- Returns:
this
-
serverSideEncryption
@Stability(Stable) public DaxClusterConfig.Builder serverSideEncryption(DaxClusterServerSideEncryption serverSideEncryption)
Sets the value ofDaxClusterConfig.getServerSideEncryption()- Parameters:
serverSideEncryption- server_side_encryption block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#server_side_encryption DaxCluster#server_side_encryption}- Returns:
this
-
subnetGroupName
@Stability(Stable) public DaxClusterConfig.Builder subnetGroupName(String subnetGroupName)
Sets the value ofDaxClusterConfig.getSubnetGroupName()- Parameters:
subnetGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#subnet_group_name DaxCluster#subnet_group_name}.- Returns:
this
-
tags
@Stability(Stable) public DaxClusterConfig.Builder tags(Map<String,String> tags)
Sets the value ofDaxClusterConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#tags DaxCluster#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DaxClusterConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDaxClusterConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#tags_all DaxCluster#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public DaxClusterConfig.Builder timeouts(DaxClusterTimeouts timeouts)
Sets the value ofDaxClusterConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/dax_cluster#timeouts DaxCluster#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DaxClusterConfig.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 DaxClusterConfig.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 DaxClusterConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DaxClusterConfig.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 DaxClusterConfig.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 DaxClusterConfig.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 DaxClusterConfig.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 DaxClusterConfig.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 DaxClusterConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DaxClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DaxClusterConfig>- Returns:
- a new instance of
DaxClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-