Class GkeonpremBareMetalAdminClusterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gkeonprem_bare_metal_admin_cluster.GkeonpremBareMetalAdminClusterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeonpremBareMetalAdminClusterConfig>
- Enclosing interface:
- GkeonpremBareMetalAdminClusterConfig
@Stability(Stable) public static final class GkeonpremBareMetalAdminClusterConfig.Builder extends Object implements software.amazon.jsii.Builder<GkeonpremBareMetalAdminClusterConfig>
A builder forGkeonpremBareMetalAdminClusterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
location
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder location(String location)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.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/gkeonprem_bare_metal_admin_cluster#location GkeonpremBareMetalAdminCluster#location}- Returns:
this
-
name
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder name(String name)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getName()- Parameters:
name- The bare metal admin cluster name. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#name GkeonpremBareMetalAdminCluster#name}- Returns:
this
-
annotations
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder annotations(Map<String,String> annotations)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getAnnotations()- Parameters:
annotations- Annotations on the Bare Metal Admin Cluster. 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_bare_metal_admin_cluster#annotations GkeonpremBareMetalAdminCluster#annotations}- Returns:
this
-
bareMetalVersion
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder bareMetalVersion(String bareMetalVersion)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getBareMetalVersion()- Parameters:
bareMetalVersion- A human readable description of this Bare Metal Admin Cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#bare_metal_version GkeonpremBareMetalAdminCluster#bare_metal_version}- Returns:
this
-
clusterOperations
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder clusterOperations(GkeonpremBareMetalAdminClusterClusterOperations clusterOperations)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getClusterOperations()- Parameters:
clusterOperations- cluster_operations block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#cluster_operations GkeonpremBareMetalAdminCluster#cluster_operations}- Returns:
this
-
controlPlane
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder controlPlane(GkeonpremBareMetalAdminClusterControlPlane controlPlane)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getControlPlane()- Parameters:
controlPlane- control_plane block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#control_plane GkeonpremBareMetalAdminCluster#control_plane}- Returns:
this
-
description
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder description(String description)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getDescription()- Parameters:
description- A human readable description of this Bare Metal Admin Cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#description GkeonpremBareMetalAdminCluster#description}- Returns:
this
-
id
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder id(String id)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#id GkeonpremBareMetalAdminCluster#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
-
loadBalancer
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder loadBalancer(GkeonpremBareMetalAdminClusterLoadBalancer loadBalancer)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getLoadBalancer()- Parameters:
loadBalancer- load_balancer block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#load_balancer GkeonpremBareMetalAdminCluster#load_balancer}- Returns:
this
-
maintenanceConfig
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder maintenanceConfig(GkeonpremBareMetalAdminClusterMaintenanceConfig maintenanceConfig)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getMaintenanceConfig()- Parameters:
maintenanceConfig- maintenance_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#maintenance_config GkeonpremBareMetalAdminCluster#maintenance_config}- Returns:
this
-
networkConfig
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder networkConfig(GkeonpremBareMetalAdminClusterNetworkConfig networkConfig)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getNetworkConfig()- Parameters:
networkConfig- network_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#network_config GkeonpremBareMetalAdminCluster#network_config}- Returns:
this
-
nodeAccessConfig
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder nodeAccessConfig(GkeonpremBareMetalAdminClusterNodeAccessConfig nodeAccessConfig)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getNodeAccessConfig()- Parameters:
nodeAccessConfig- node_access_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#node_access_config GkeonpremBareMetalAdminCluster#node_access_config}- Returns:
this
-
nodeConfig
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder nodeConfig(GkeonpremBareMetalAdminClusterNodeConfig nodeConfig)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getNodeConfig()- Parameters:
nodeConfig- node_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#node_config GkeonpremBareMetalAdminCluster#node_config}- Returns:
this
-
project
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder project(String project)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#project GkeonpremBareMetalAdminCluster#project}.- Returns:
this
-
proxy
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder proxy(GkeonpremBareMetalAdminClusterProxy proxy)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getProxy()- Parameters:
proxy- proxy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#proxy GkeonpremBareMetalAdminCluster#proxy}- Returns:
this
-
securityConfig
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder securityConfig(GkeonpremBareMetalAdminClusterSecurityConfig securityConfig)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getSecurityConfig()- Parameters:
securityConfig- security_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#security_config GkeonpremBareMetalAdminCluster#security_config}- Returns:
this
-
storage
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder storage(GkeonpremBareMetalAdminClusterStorage storage)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getStorage()- Parameters:
storage- storage block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#storage GkeonpremBareMetalAdminCluster#storage}- Returns:
this
-
timeouts
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig.Builder timeouts(GkeonpremBareMetalAdminClusterTimeouts timeouts)
Sets the value ofGkeonpremBareMetalAdminClusterConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_admin_cluster#timeouts GkeonpremBareMetalAdminCluster#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public GkeonpremBareMetalAdminClusterConfig.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 GkeonpremBareMetalAdminClusterConfig.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 GkeonpremBareMetalAdminClusterConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public GkeonpremBareMetalAdminClusterConfig.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 GkeonpremBareMetalAdminClusterConfig.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 GkeonpremBareMetalAdminClusterConfig.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 GkeonpremBareMetalAdminClusterConfig.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 GkeonpremBareMetalAdminClusterConfig.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 GkeonpremBareMetalAdminClusterConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public GkeonpremBareMetalAdminClusterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeonpremBareMetalAdminClusterConfig>- Returns:
- a new instance of
GkeonpremBareMetalAdminClusterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-