Class ContainerAwsNodePoolConfigA.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_node_pool.ContainerAwsNodePoolConfigA.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsNodePoolConfigA>
- Enclosing interface:
- ContainerAwsNodePoolConfigA
@Stability(Stable) public static final class ContainerAwsNodePoolConfigA.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsNodePoolConfigA>
A builder forContainerAwsNodePoolConfigA
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
configEncryption
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder configEncryption(ContainerAwsNodePoolConfigConfigEncryption configEncryption)
Sets the value ofContainerAwsNodePoolConfigA.getConfigEncryption()- Parameters:
configEncryption- config_encryption block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#config_encryption ContainerAwsNodePool#config_encryption}- Returns:
this
-
iamInstanceProfile
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder iamInstanceProfile(String iamInstanceProfile)
Sets the value ofContainerAwsNodePoolConfigA.getIamInstanceProfile()- Parameters:
iamInstanceProfile- The name of the AWS IAM role assigned to nodes in the pool. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#iam_instance_profile ContainerAwsNodePool#iam_instance_profile}- Returns:
this
-
autoscalingMetricsCollection
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder autoscalingMetricsCollection(ContainerAwsNodePoolConfigAutoscalingMetricsCollection autoscalingMetricsCollection)
Sets the value ofContainerAwsNodePoolConfigA.getAutoscalingMetricsCollection()- Parameters:
autoscalingMetricsCollection- autoscaling_metrics_collection block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#autoscaling_metrics_collection ContainerAwsNodePool#autoscaling_metrics_collection}- Returns:
this
-
instanceType
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder instanceType(String instanceType)
Sets the value ofContainerAwsNodePoolConfigA.getInstanceType()- Parameters:
instanceType- Optional. The AWS instance type. When unspecified, it defaults tom5.large. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#instance_type ContainerAwsNodePool#instance_type}- Returns:
this
-
labels
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder labels(Map<String,String> labels)
Sets the value ofContainerAwsNodePoolConfigA.getLabels()- Parameters:
labels- Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#labels ContainerAwsNodePool#labels}- Returns:
this
-
proxyConfig
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder proxyConfig(ContainerAwsNodePoolConfigProxyConfig proxyConfig)
Sets the value ofContainerAwsNodePoolConfigA.getProxyConfig()- Parameters:
proxyConfig- proxy_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#proxy_config ContainerAwsNodePool#proxy_config}- Returns:
this
-
rootVolume
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder rootVolume(ContainerAwsNodePoolConfigRootVolume rootVolume)
Sets the value ofContainerAwsNodePoolConfigA.getRootVolume()- Parameters:
rootVolume- root_volume block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#root_volume ContainerAwsNodePool#root_volume}- Returns:
this
-
securityGroupIds
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder securityGroupIds(List<String> securityGroupIds)
Sets the value ofContainerAwsNodePoolConfigA.getSecurityGroupIds()- Parameters:
securityGroupIds- Optional. The IDs of additional security groups to add to nodes in this pool. The manager will automatically create security groups with minimum rules needed for a functioning cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#security_group_ids ContainerAwsNodePool#security_group_ids}- Returns:
this
-
sshConfig
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder sshConfig(ContainerAwsNodePoolConfigSshConfig sshConfig)
Sets the value ofContainerAwsNodePoolConfigA.getSshConfig()- Parameters:
sshConfig- ssh_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#ssh_config ContainerAwsNodePool#ssh_config}- Returns:
this
-
tags
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder tags(Map<String,String> tags)
Sets the value ofContainerAwsNodePoolConfigA.getTags()- Parameters:
tags- Optional. Key/value metadata to assign to each underlying AWS resource. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#tags ContainerAwsNodePool#tags}- Returns:
this
-
taints
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder taints(com.hashicorp.cdktf.IResolvable taints)
Sets the value ofContainerAwsNodePoolConfigA.getTaints()- Parameters:
taints- taints block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#taints ContainerAwsNodePool#taints}- Returns:
this
-
taints
@Stability(Stable) public ContainerAwsNodePoolConfigA.Builder taints(List<? extends ContainerAwsNodePoolConfigTaints> taints)
Sets the value ofContainerAwsNodePoolConfigA.getTaints()- Parameters:
taints- taints block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_node_pool#taints ContainerAwsNodePool#taints}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsNodePoolConfigA build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsNodePoolConfigA>- Returns:
- a new instance of
ContainerAwsNodePoolConfigA - Throws:
NullPointerException- if any required attribute was not provided
-
-