Class OsConfigPatchDeploymentInstanceFilterGroupLabels.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentInstanceFilterGroupLabels.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentInstanceFilterGroupLabels>
- Enclosing interface:
- OsConfigPatchDeploymentInstanceFilterGroupLabels
@Stability(Stable) public static final class OsConfigPatchDeploymentInstanceFilterGroupLabels.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentInstanceFilterGroupLabels>
A builder forOsConfigPatchDeploymentInstanceFilterGroupLabels
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigPatchDeploymentInstanceFilterGroupLabelsbuild()Builds the configured instance.OsConfigPatchDeploymentInstanceFilterGroupLabels.Builderlabels(Map<String,String> labels)Sets the value ofOsConfigPatchDeploymentInstanceFilterGroupLabels.getLabels()
-
-
-
Method Detail
-
labels
@Stability(Stable) public OsConfigPatchDeploymentInstanceFilterGroupLabels.Builder labels(Map<String,String> labels)
Sets the value ofOsConfigPatchDeploymentInstanceFilterGroupLabels.getLabels()- Parameters:
labels- Compute Engine instance labels that must be present for a VM instance to be targeted by this filter. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#labels OsConfigPatchDeployment#labels}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentInstanceFilterGroupLabels build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentInstanceFilterGroupLabels>- Returns:
- a new instance of
OsConfigPatchDeploymentInstanceFilterGroupLabels - Throws:
NullPointerException- if any required attribute was not provided
-
-