Class GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gkeonprem_bare_metal_node_pool.GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs>
- Enclosing interface:
- GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs
@Stability(Stable) public static final class GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.Builder extends Object implements software.amazon.jsii.Builder<GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs>
A builder forGkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigsbuild()Builds the configured instance.GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.Builderlabels(Map<String,String> labels)Sets the value ofGkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.getLabels()GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.BuildernodeIp(String nodeIp)Sets the value ofGkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.getNodeIp()
-
-
-
Method Detail
-
labels
@Stability(Stable) public GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.Builder labels(Map<String,String> labels)
Sets the value ofGkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.getLabels()- Parameters:
labels- The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: * http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. For example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_node_pool#labels GkeonpremBareMetalNodePool#labels}- Returns:
this
-
nodeIp
@Stability(Stable) public GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.Builder nodeIp(String nodeIp)
Sets the value ofGkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs.getNodeIp()- Parameters:
nodeIp- The default IPv4 address for SSH access and Kubernetes node. Example: 192.168.0.1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_node_pool#node_ip GkeonpremBareMetalNodePool#node_ip}- Returns:
this
-
build
@Stability(Stable) public GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs>- Returns:
- a new instance of
GkeonpremBareMetalNodePoolNodePoolConfigNodeConfigs - Throws:
NullPointerException- if any required attribute was not provided
-
-