Class ComputeInstanceGroupManagerAllInstancesConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance_group_manager.ComputeInstanceGroupManagerAllInstancesConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceGroupManagerAllInstancesConfig>
- Enclosing interface:
- ComputeInstanceGroupManagerAllInstancesConfig
@Stability(Stable) public static final class ComputeInstanceGroupManagerAllInstancesConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceGroupManagerAllInstancesConfig>
A builder forComputeInstanceGroupManagerAllInstancesConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceGroupManagerAllInstancesConfigbuild()Builds the configured instance.ComputeInstanceGroupManagerAllInstancesConfig.Builderlabels(Map<String,String> labels)Sets the value ofComputeInstanceGroupManagerAllInstancesConfig.getLabels()ComputeInstanceGroupManagerAllInstancesConfig.Buildermetadata(Map<String,String> metadata)Sets the value ofComputeInstanceGroupManagerAllInstancesConfig.getMetadata()
-
-
-
Method Detail
-
labels
@Stability(Stable) public ComputeInstanceGroupManagerAllInstancesConfig.Builder labels(Map<String,String> labels)
Sets the value ofComputeInstanceGroupManagerAllInstancesConfig.getLabels()- Parameters:
labels- The label key-value pairs that you want to patch onto the instance,. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group_manager#labels ComputeInstanceGroupManager#labels}- Returns:
this
-
metadata
@Stability(Stable) public ComputeInstanceGroupManagerAllInstancesConfig.Builder metadata(Map<String,String> metadata)
Sets the value ofComputeInstanceGroupManagerAllInstancesConfig.getMetadata()- Parameters:
metadata- The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata, Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group_manager#metadata ComputeInstanceGroupManager#metadata}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceGroupManagerAllInstancesConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceGroupManagerAllInstancesConfig>- Returns:
- a new instance of
ComputeInstanceGroupManagerAllInstancesConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-