Class EdgecontainerNodePoolConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.edgecontainer_node_pool.EdgecontainerNodePoolConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EdgecontainerNodePoolConfig>
- Enclosing interface:
- EdgecontainerNodePoolConfig
@Stability(Stable) public static final class EdgecontainerNodePoolConfig.Builder extends Object implements software.amazon.jsii.Builder<EdgecontainerNodePoolConfig>
A builder forEdgecontainerNodePoolConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
cluster
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder cluster(String cluster)
Sets the value ofEdgecontainerNodePoolConfig.getCluster()- Parameters:
cluster- The name of the target Distributed Cloud Edge Cluster. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#cluster EdgecontainerNodePool#cluster}- Returns:
this
-
location
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder location(String location)
Sets the value ofEdgecontainerNodePoolConfig.getLocation()- Parameters:
location- The location of the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#location EdgecontainerNodePool#location}- Returns:
this
-
name
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder name(String name)
Sets the value ofEdgecontainerNodePoolConfig.getName()- Parameters:
name- The resource name of the node pool. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#name EdgecontainerNodePool#name}- Returns:
this
-
nodeCount
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder nodeCount(Number nodeCount)
Sets the value ofEdgecontainerNodePoolConfig.getNodeCount()- Parameters:
nodeCount- The number of 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/edgecontainer_node_pool#node_count EdgecontainerNodePool#node_count}- Returns:
this
-
nodeLocation
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder nodeLocation(String nodeLocation)
Sets the value ofEdgecontainerNodePoolConfig.getNodeLocation()- Parameters:
nodeLocation- Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: 'us-central1-edge-customer-a'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#node_location EdgecontainerNodePool#node_location}- Returns:
this
-
id
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder id(String id)
Sets the value ofEdgecontainerNodePoolConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#id EdgecontainerNodePool#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
labels
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder labels(Map<String,String> labels)
Sets the value ofEdgecontainerNodePoolConfig.getLabels()- Parameters:
labels- Labels associated with this resource. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#labels EdgecontainerNodePool#labels}- Returns:
this
-
localDiskEncryption
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder localDiskEncryption(EdgecontainerNodePoolLocalDiskEncryption localDiskEncryption)
Sets the value ofEdgecontainerNodePoolConfig.getLocalDiskEncryption()- Parameters:
localDiskEncryption- local_disk_encryption block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#local_disk_encryption EdgecontainerNodePool#local_disk_encryption}- Returns:
this
-
machineFilter
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder machineFilter(String machineFilter)
Sets the value ofEdgecontainerNodePoolConfig.getMachineFilter()- Parameters:
machineFilter- Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=", and is documented in more detail in [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_node_pool#machine_filter EdgecontainerNodePool#machine_filter} - Returns:
this
-
nodeConfig
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder nodeConfig(EdgecontainerNodePoolNodeConfig nodeConfig)
Sets the value ofEdgecontainerNodePoolConfig.getNodeConfig()- Parameters:
nodeConfig- node_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#node_config EdgecontainerNodePool#node_config}- Returns:
this
-
project
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder project(String project)
Sets the value ofEdgecontainerNodePoolConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#project EdgecontainerNodePool#project}.- Returns:
this
-
timeouts
@Stability(Stable) public EdgecontainerNodePoolConfig.Builder timeouts(EdgecontainerNodePoolTimeouts timeouts)
Sets the value ofEdgecontainerNodePoolConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#timeouts EdgecontainerNodePool#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public EdgecontainerNodePoolConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public EdgecontainerNodePoolConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EdgecontainerNodePoolConfig>- Returns:
- a new instance of
EdgecontainerNodePoolConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-