Class ContainerAzureClusterNetworking.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_azure_cluster.ContainerAzureClusterNetworking.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAzureClusterNetworking>
- Enclosing interface:
- ContainerAzureClusterNetworking
@Stability(Stable) public static final class ContainerAzureClusterNetworking.Builder extends Object implements software.amazon.jsii.Builder<ContainerAzureClusterNetworking>
A builder forContainerAzureClusterNetworking
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAzureClusterNetworkingbuild()Builds the configured instance.ContainerAzureClusterNetworking.BuilderpodAddressCidrBlocks(List<String> podAddressCidrBlocks)Sets the value ofContainerAzureClusterNetworking.getPodAddressCidrBlocks()ContainerAzureClusterNetworking.BuilderserviceAddressCidrBlocks(List<String> serviceAddressCidrBlocks)Sets the value ofContainerAzureClusterNetworking.getServiceAddressCidrBlocks()ContainerAzureClusterNetworking.BuildervirtualNetworkId(String virtualNetworkId)Sets the value ofContainerAzureClusterNetworking.getVirtualNetworkId()
-
-
-
Method Detail
-
podAddressCidrBlocks
@Stability(Stable) public ContainerAzureClusterNetworking.Builder podAddressCidrBlocks(List<String> podAddressCidrBlocks)
Sets the value ofContainerAzureClusterNetworking.getPodAddressCidrBlocks()- Parameters:
podAddressCidrBlocks- The IP address range of the pods in this cluster, in CIDR notation (e.g.10.96.0.0/14). All pods in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#pod_address_cidr_blocks ContainerAzureCluster#pod_address_cidr_blocks}- Returns:
this
-
serviceAddressCidrBlocks
@Stability(Stable) public ContainerAzureClusterNetworking.Builder serviceAddressCidrBlocks(List<String> serviceAddressCidrBlocks)
Sets the value ofContainerAzureClusterNetworking.getServiceAddressCidrBlocks()- Parameters:
serviceAddressCidrBlocks- The IP address range for services in this cluster, in CIDR notation (e.g.10.96.0.0/14). All services in the cluster get assigned a unique RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creating a cluster. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#service_address_cidr_blocks ContainerAzureCluster#service_address_cidr_blocks}- Returns:
this
-
virtualNetworkId
@Stability(Stable) public ContainerAzureClusterNetworking.Builder virtualNetworkId(String virtualNetworkId)
Sets the value ofContainerAzureClusterNetworking.getVirtualNetworkId()- Parameters:
virtualNetworkId- The Azure Resource Manager (ARM) ID of the VNet associated with your cluster. This parameter is required. All components in the cluster (i.e. control plane and node pools) run on a single VNet. Example: `/subscriptions/* /resourceGroups/* /providers/Microsoft.Network/virtualNetworks/*` This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_cluster#virtual_network_id ContainerAzureCluster#virtual_network_id} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.- Returns:
this
-
build
@Stability(Stable) public ContainerAzureClusterNetworking build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAzureClusterNetworking>- Returns:
- a new instance of
ContainerAzureClusterNetworking - Throws:
NullPointerException- if any required attribute was not provided
-
-