Class EdgecontainerClusterNetworking.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.edgecontainer_cluster.EdgecontainerClusterNetworking.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EdgecontainerClusterNetworking>
- Enclosing interface:
- EdgecontainerClusterNetworking
@Stability(Stable) public static final class EdgecontainerClusterNetworking.Builder extends Object implements software.amazon.jsii.Builder<EdgecontainerClusterNetworking>
A builder forEdgecontainerClusterNetworking
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgecontainerClusterNetworkingbuild()Builds the configured instance.EdgecontainerClusterNetworking.BuilderclusterIpv4CidrBlocks(List<String> clusterIpv4CidrBlocks)Sets the value ofEdgecontainerClusterNetworking.getClusterIpv4CidrBlocks()EdgecontainerClusterNetworking.BuilderclusterIpv6CidrBlocks(List<String> clusterIpv6CidrBlocks)Sets the value ofEdgecontainerClusterNetworking.getClusterIpv6CidrBlocks()EdgecontainerClusterNetworking.BuilderservicesIpv4CidrBlocks(List<String> servicesIpv4CidrBlocks)Sets the value ofEdgecontainerClusterNetworking.getServicesIpv4CidrBlocks()EdgecontainerClusterNetworking.BuilderservicesIpv6CidrBlocks(List<String> servicesIpv6CidrBlocks)Sets the value ofEdgecontainerClusterNetworking.getServicesIpv6CidrBlocks()
-
-
-
Method Detail
-
clusterIpv4CidrBlocks
@Stability(Stable) public EdgecontainerClusterNetworking.Builder clusterIpv4CidrBlocks(List<String> clusterIpv4CidrBlocks)
Sets the value ofEdgecontainerClusterNetworking.getClusterIpv4CidrBlocks()- Parameters:
clusterIpv4CidrBlocks- All pods in the cluster are assigned an RFC1918 IPv4 address from these blocks. This parameter is required. Only a single block is supported. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_cluster#cluster_ipv4_cidr_blocks EdgecontainerCluster#cluster_ipv4_cidr_blocks}- Returns:
this
-
servicesIpv4CidrBlocks
@Stability(Stable) public EdgecontainerClusterNetworking.Builder servicesIpv4CidrBlocks(List<String> servicesIpv4CidrBlocks)
Sets the value ofEdgecontainerClusterNetworking.getServicesIpv4CidrBlocks()- Parameters:
servicesIpv4CidrBlocks- All services in the cluster are assigned an RFC1918 IPv4 address from these blocks. This parameter is required. Only a single block is supported. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_cluster#services_ipv4_cidr_blocks EdgecontainerCluster#services_ipv4_cidr_blocks}- Returns:
this
-
clusterIpv6CidrBlocks
@Stability(Stable) public EdgecontainerClusterNetworking.Builder clusterIpv6CidrBlocks(List<String> clusterIpv6CidrBlocks)
Sets the value ofEdgecontainerClusterNetworking.getClusterIpv6CidrBlocks()- Parameters:
clusterIpv6CidrBlocks- If specified, dual stack mode is enabled and all pods in the cluster are assigned an IPv6 address from these blocks alongside from an IPv4 address. Only a single block is supported. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_cluster#cluster_ipv6_cidr_blocks EdgecontainerCluster#cluster_ipv6_cidr_blocks}- Returns:
this
-
servicesIpv6CidrBlocks
@Stability(Stable) public EdgecontainerClusterNetworking.Builder servicesIpv6CidrBlocks(List<String> servicesIpv6CidrBlocks)
Sets the value ofEdgecontainerClusterNetworking.getServicesIpv6CidrBlocks()- Parameters:
servicesIpv6CidrBlocks- If specified, dual stack mode is enabled and all services in the cluster are assigned an IPv6 address from these blocks alongside from an IPv4 address. Only a single block is supported. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_cluster#services_ipv6_cidr_blocks EdgecontainerCluster#services_ipv6_cidr_blocks}- Returns:
this
-
build
@Stability(Stable) public EdgecontainerClusterNetworking build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EdgecontainerClusterNetworking>- Returns:
- a new instance of
EdgecontainerClusterNetworking - Throws:
NullPointerException- if any required attribute was not provided
-
-