Class EdgecontainerClusterControlPlaneLocal.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.edgecontainer_cluster.EdgecontainerClusterControlPlaneLocal.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EdgecontainerClusterControlPlaneLocal>
- Enclosing interface:
- EdgecontainerClusterControlPlaneLocal
@Stability(Stable) public static final class EdgecontainerClusterControlPlaneLocal.Builder extends Object implements software.amazon.jsii.Builder<EdgecontainerClusterControlPlaneLocal>
A builder forEdgecontainerClusterControlPlaneLocal
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgecontainerClusterControlPlaneLocalbuild()Builds the configured instance.EdgecontainerClusterControlPlaneLocal.BuildermachineFilter(String machineFilter)Sets the value ofEdgecontainerClusterControlPlaneLocal.getMachineFilter()EdgecontainerClusterControlPlaneLocal.BuildernodeCount(Number nodeCount)Sets the value ofEdgecontainerClusterControlPlaneLocal.getNodeCount()EdgecontainerClusterControlPlaneLocal.BuildernodeLocation(String nodeLocation)Sets the value ofEdgecontainerClusterControlPlaneLocal.getNodeLocation()EdgecontainerClusterControlPlaneLocal.BuildersharedDeploymentPolicy(String sharedDeploymentPolicy)Sets the value ofEdgecontainerClusterControlPlaneLocal.getSharedDeploymentPolicy()
-
-
-
Method Detail
-
machineFilter
@Stability(Stable) public EdgecontainerClusterControlPlaneLocal.Builder machineFilter(String machineFilter)
Sets the value ofEdgecontainerClusterControlPlaneLocal.getMachineFilter()- Parameters:
machineFilter- Only machines matching this filter will be allowed to host control plane nodes. The filtering language accepts strings like "name=", and is documented here: [AIP-160](https://google.aip.dev/160). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_cluster#machine_filter EdgecontainerCluster#machine_filter} - Returns:
this
-
nodeCount
@Stability(Stable) public EdgecontainerClusterControlPlaneLocal.Builder nodeCount(Number nodeCount)
Sets the value ofEdgecontainerClusterControlPlaneLocal.getNodeCount()- Parameters:
nodeCount- The number of nodes to serve as replicas of the Control Plane. Only 1 and 3 are supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_cluster#node_count EdgecontainerCluster#node_count}- Returns:
this
-
nodeLocation
@Stability(Stable) public EdgecontainerClusterControlPlaneLocal.Builder nodeLocation(String nodeLocation)
Sets the value ofEdgecontainerClusterControlPlaneLocal.getNodeLocation()- Parameters:
nodeLocation- Name of the Google Distributed Cloud Edge zones where this node pool will be created. For example: 'us-central1-edge-customer-a'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_cluster#node_location EdgecontainerCluster#node_location}- Returns:
this
-
sharedDeploymentPolicy
@Stability(Stable) public EdgecontainerClusterControlPlaneLocal.Builder sharedDeploymentPolicy(String sharedDeploymentPolicy)
Sets the value ofEdgecontainerClusterControlPlaneLocal.getSharedDeploymentPolicy()- Parameters:
sharedDeploymentPolicy- Policy configuration about how user applications are deployed. Possible values: ["SHARED_DEPLOYMENT_POLICY_UNSPECIFIED", "ALLOWED", "DISALLOWED"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_cluster#shared_deployment_policy EdgecontainerCluster#shared_deployment_policy}- Returns:
this
-
build
@Stability(Stable) public EdgecontainerClusterControlPlaneLocal build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EdgecontainerClusterControlPlaneLocal>- Returns:
- a new instance of
EdgecontainerClusterControlPlaneLocal - Throws:
NullPointerException- if any required attribute was not provided
-
-