Class GkeonpremVmwareNodePool.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gkeonprem_vmware_node_pool.GkeonpremVmwareNodePool.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeonpremVmwareNodePool>
- Enclosing class:
- GkeonpremVmwareNodePool
@Stability(Stable) public static final class GkeonpremVmwareNodePool.Builder extends Object implements software.amazon.jsii.Builder<GkeonpremVmwareNodePool>
A fluent builder forGkeonpremVmwareNodePool.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeonpremVmwareNodePool.Builderannotations(Map<String,String> annotations)Annotations on the node Pool.GkeonpremVmwareNodePoolbuild()GkeonpremVmwareNodePool.Builderconfig(GkeonpremVmwareNodePoolConfigA config)config block.GkeonpremVmwareNodePool.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)GkeonpremVmwareNodePool.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)GkeonpremVmwareNodePool.Buildercount(com.hashicorp.cdktf.TerraformCount count)GkeonpremVmwareNodePool.Buildercount(Number count)static GkeonpremVmwareNodePool.Buildercreate(software.constructs.Construct scope, String id)GkeonpremVmwareNodePool.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)GkeonpremVmwareNodePool.BuilderdisplayName(String displayName)The display name for the node pool.GkeonpremVmwareNodePool.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)GkeonpremVmwareNodePool.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#id GkeonpremVmwareNodePool#id}.GkeonpremVmwareNodePool.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)GkeonpremVmwareNodePool.Builderlocation(String location)The location of the resource.GkeonpremVmwareNodePool.Buildername(String name)The vmware node pool name.GkeonpremVmwareNodePool.BuildernodePoolAutoscaling(GkeonpremVmwareNodePoolNodePoolAutoscaling nodePoolAutoscaling)node_pool_autoscaling block.GkeonpremVmwareNodePool.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#project GkeonpremVmwareNodePool#project}.GkeonpremVmwareNodePool.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)GkeonpremVmwareNodePool.Builderprovisioners(List<? extends Object> provisioners)GkeonpremVmwareNodePool.Buildertimeouts(GkeonpremVmwareNodePoolTimeouts timeouts)timeouts block.GkeonpremVmwareNodePool.BuildervmwareCluster(String vmwareCluster)The cluster this node pool belongs to.
-
-
-
Method Detail
-
create
@Stability(Stable) public static GkeonpremVmwareNodePool.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
GkeonpremVmwareNodePool.Builder.
-
connection
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public GkeonpremVmwareNodePool.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
config
@Stability(Stable) public GkeonpremVmwareNodePool.Builder config(GkeonpremVmwareNodePoolConfigA config)
config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#config GkeonpremVmwareNodePool#config}
- Parameters:
config- config block. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public GkeonpremVmwareNodePool.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/gkeonprem_vmware_node_pool#location GkeonpremVmwareNodePool#location}
- Parameters:
location- The location of the resource. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public GkeonpremVmwareNodePool.Builder name(String name)
The vmware node pool name.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#name GkeonpremVmwareNodePool#name}
- Parameters:
name- The vmware node pool name. This parameter is required.- Returns:
this
-
vmwareCluster
@Stability(Stable) public GkeonpremVmwareNodePool.Builder vmwareCluster(String vmwareCluster)
The cluster this node pool belongs to.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#vmware_cluster GkeonpremVmwareNodePool#vmware_cluster}
- Parameters:
vmwareCluster- The cluster this node pool belongs to. This parameter is required.- Returns:
this
-
annotations
@Stability(Stable) public GkeonpremVmwareNodePool.Builder annotations(Map<String,String> annotations)
Annotations on the node Pool.This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#annotations GkeonpremVmwareNodePool#annotations}
- Parameters:
annotations- Annotations on the node Pool. This parameter is required.- Returns:
this
-
displayName
@Stability(Stable) public GkeonpremVmwareNodePool.Builder displayName(String displayName)
The display name for the node pool.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#display_name GkeonpremVmwareNodePool#display_name}
- Parameters:
displayName- The display name for the node pool. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public GkeonpremVmwareNodePool.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#id GkeonpremVmwareNodePool#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/gkeonprem_vmware_node_pool#id GkeonpremVmwareNodePool#id}. This parameter is required.- Returns:
this
-
nodePoolAutoscaling
@Stability(Stable) public GkeonpremVmwareNodePool.Builder nodePoolAutoscaling(GkeonpremVmwareNodePoolNodePoolAutoscaling nodePoolAutoscaling)
node_pool_autoscaling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#node_pool_autoscaling GkeonpremVmwareNodePool#node_pool_autoscaling}
- Parameters:
nodePoolAutoscaling- node_pool_autoscaling block. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public GkeonpremVmwareNodePool.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#project GkeonpremVmwareNodePool#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#project GkeonpremVmwareNodePool#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public GkeonpremVmwareNodePool.Builder timeouts(GkeonpremVmwareNodePoolTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_vmware_node_pool#timeouts GkeonpremVmwareNodePool#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public GkeonpremVmwareNodePool build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeonpremVmwareNodePool>- Returns:
- a newly built instance of
GkeonpremVmwareNodePool.
-
-