Class ContainerAzureNodePoolConfigA.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_azure_node_pool.ContainerAzureNodePoolConfigA.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAzureNodePoolConfigA>
- Enclosing interface:
- ContainerAzureNodePoolConfigA
@Stability(Stable) public static final class ContainerAzureNodePoolConfigA.Builder extends Object implements software.amazon.jsii.Builder<ContainerAzureNodePoolConfigA>
A builder forContainerAzureNodePoolConfigA
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
sshConfig
@Stability(Stable) public ContainerAzureNodePoolConfigA.Builder sshConfig(ContainerAzureNodePoolConfigSshConfig sshConfig)
Sets the value ofContainerAzureNodePoolConfigA.getSshConfig()- Parameters:
sshConfig- ssh_config block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_node_pool#ssh_config ContainerAzureNodePool#ssh_config}- Returns:
this
-
labels
@Stability(Stable) public ContainerAzureNodePoolConfigA.Builder labels(Map<String,String> labels)
Sets the value ofContainerAzureNodePoolConfigA.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_azure_node_pool#labels ContainerAzureNodePool#labels}- Returns:
this
-
proxyConfig
@Stability(Stable) public ContainerAzureNodePoolConfigA.Builder proxyConfig(ContainerAzureNodePoolConfigProxyConfig proxyConfig)
Sets the value ofContainerAzureNodePoolConfigA.getProxyConfig()- Parameters:
proxyConfig- proxy_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_node_pool#proxy_config ContainerAzureNodePool#proxy_config}- Returns:
this
-
rootVolume
@Stability(Stable) public ContainerAzureNodePoolConfigA.Builder rootVolume(ContainerAzureNodePoolConfigRootVolume rootVolume)
Sets the value ofContainerAzureNodePoolConfigA.getRootVolume()- Parameters:
rootVolume- root_volume block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_node_pool#root_volume ContainerAzureNodePool#root_volume}- Returns:
this
-
tags
@Stability(Stable) public ContainerAzureNodePoolConfigA.Builder tags(Map<String,String> tags)
Sets the value ofContainerAzureNodePoolConfigA.getTags()- Parameters:
tags- Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. 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_azure_node_pool#tags ContainerAzureNodePool#tags}- Returns:
this
-
vmSize
@Stability(Stable) public ContainerAzureNodePoolConfigA.Builder vmSize(String vmSize)
Sets the value ofContainerAzureNodePoolConfigA.getVmSize()- Parameters:
vmSize- Optional. The Azure VM size name. Example:Standard_DS2_v2. See (/anthos/clusters/docs/azure/reference/supported-vms) for options. When unspecified, it defaults toStandard_DS2_v2. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_node_pool#vm_size ContainerAzureNodePool#vm_size}- Returns:
this
-
build
@Stability(Stable) public ContainerAzureNodePoolConfigA build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAzureNodePoolConfigA>- Returns:
- a new instance of
ContainerAzureNodePoolConfigA - Throws:
NullPointerException- if any required attribute was not provided
-
-