Class EdgecontainerNodePool.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.edgecontainer_node_pool.EdgecontainerNodePool.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EdgecontainerNodePool>
- Enclosing class:
- EdgecontainerNodePool
@Stability(Stable) public static final class EdgecontainerNodePool.Builder extends Object implements software.amazon.jsii.Builder<EdgecontainerNodePool>
A fluent builder forEdgecontainerNodePool.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgecontainerNodePoolbuild()EdgecontainerNodePool.Buildercluster(String cluster)The name of the target Distributed Cloud Edge Cluster.EdgecontainerNodePool.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)EdgecontainerNodePool.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)EdgecontainerNodePool.Buildercount(com.hashicorp.cdktf.TerraformCount count)EdgecontainerNodePool.Buildercount(Number count)static EdgecontainerNodePool.Buildercreate(software.constructs.Construct scope, String id)EdgecontainerNodePool.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)EdgecontainerNodePool.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)EdgecontainerNodePool.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#id EdgecontainerNodePool#id}.EdgecontainerNodePool.Builderlabels(Map<String,String> labels)Labels associated with this resource.EdgecontainerNodePool.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)EdgecontainerNodePool.BuilderlocalDiskEncryption(EdgecontainerNodePoolLocalDiskEncryption localDiskEncryption)local_disk_encryption block.EdgecontainerNodePool.Builderlocation(String location)The location of the resource.EdgecontainerNodePool.BuildermachineFilter(String machineFilter)Only machines matching this filter will be allowed to join the node pool.EdgecontainerNodePool.Buildername(String name)The resource name of the node pool.EdgecontainerNodePool.BuildernodeConfig(EdgecontainerNodePoolNodeConfig nodeConfig)node_config block.EdgecontainerNodePool.BuildernodeCount(Number nodeCount)The number of nodes in the pool.EdgecontainerNodePool.BuildernodeLocation(String nodeLocation)Name of the Google Distributed Cloud Edge zone where this node pool will be created.EdgecontainerNodePool.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#project EdgecontainerNodePool#project}.EdgecontainerNodePool.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)EdgecontainerNodePool.Builderprovisioners(List<? extends Object> provisioners)EdgecontainerNodePool.Buildertimeouts(EdgecontainerNodePoolTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static EdgecontainerNodePool.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
EdgecontainerNodePool.Builder.
-
connection
@Stability(Experimental) public EdgecontainerNodePool.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public EdgecontainerNodePool.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public EdgecontainerNodePool.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public EdgecontainerNodePool.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public EdgecontainerNodePool.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public EdgecontainerNodePool.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public EdgecontainerNodePool.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public EdgecontainerNodePool.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public EdgecontainerNodePool.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
cluster
@Stability(Stable) public EdgecontainerNodePool.Builder cluster(String cluster)
The name of the target Distributed Cloud Edge Cluster.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#cluster EdgecontainerNodePool#cluster}
- Parameters:
cluster- The name of the target Distributed Cloud Edge Cluster. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public EdgecontainerNodePool.Builder location(String location)
The location of the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#location EdgecontainerNodePool#location}
- Parameters:
location- The location of the resource. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public EdgecontainerNodePool.Builder name(String name)
The resource name of the node pool.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#name EdgecontainerNodePool#name}
- Parameters:
name- The resource name of the node pool. This parameter is required.- Returns:
this
-
nodeCount
@Stability(Stable) public EdgecontainerNodePool.Builder nodeCount(Number nodeCount)
The number of nodes in the pool.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}
- Parameters:
nodeCount- The number of nodes in the pool. This parameter is required.- Returns:
this
-
nodeLocation
@Stability(Stable) public EdgecontainerNodePool.Builder nodeLocation(String nodeLocation)
Name of the Google Distributed Cloud Edge zone 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_node_pool#node_location EdgecontainerNodePool#node_location}
- 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.- Returns:
this
-
id
@Stability(Stable) public EdgecontainerNodePool.Builder id(String 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.
- 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}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public EdgecontainerNodePool.Builder labels(Map<String,String> 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}
- Parameters:
labels- Labels associated with this resource. This parameter is required.- Returns:
this
-
localDiskEncryption
@Stability(Stable) public EdgecontainerNodePool.Builder localDiskEncryption(EdgecontainerNodePoolLocalDiskEncryption 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}
- Parameters:
localDiskEncryption- local_disk_encryption block. This parameter is required.- Returns:
this
-
machineFilter
@Stability(Stable) public EdgecontainerNodePool.Builder machineFilter(String 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} - Parameters:
machineFilter- Only machines matching this filter will be allowed to join the node pool. This parameter is required.- Returns:
this
-
nodeConfig
@Stability(Stable) public EdgecontainerNodePool.Builder nodeConfig(EdgecontainerNodePoolNodeConfig 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}
- Parameters:
nodeConfig- node_config block. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public EdgecontainerNodePool.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/edgecontainer_node_pool#project EdgecontainerNodePool#project}.- 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}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public EdgecontainerNodePool.Builder timeouts(EdgecontainerNodePoolTimeouts 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}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public EdgecontainerNodePool build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EdgecontainerNodePool>- Returns:
- a newly built instance of
EdgecontainerNodePool.
-
-