Class ComputeInstanceParams.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstanceParams.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceParams>
- Enclosing interface:
- ComputeInstanceParams
@Stability(Stable) public static final class ComputeInstanceParams.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceParams>
A builder forComputeInstanceParams
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceParamsbuild()Builds the configured instance.ComputeInstanceParams.BuilderresourceManagerTags(Map<String,String> resourceManagerTags)Sets the value ofComputeInstanceParams.getResourceManagerTags()
-
-
-
Method Detail
-
resourceManagerTags
@Stability(Stable) public ComputeInstanceParams.Builder resourceManagerTags(Map<String,String> resourceManagerTags)
Sets the value ofComputeInstanceParams.getResourceManagerTags()- Parameters:
resourceManagerTags- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#resource_manager_tags ComputeInstance#resource_manager_tags}- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceParams build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceParams>- Returns:
- a new instance of
ComputeInstanceParams - Throws:
NullPointerException- if any required attribute was not provided
-
-