Class ClouddeployAutomationSelectorTargets.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.clouddeploy_automation.ClouddeployAutomationSelectorTargets.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClouddeployAutomationSelectorTargets>
- Enclosing interface:
- ClouddeployAutomationSelectorTargets
@Stability(Stable) public static final class ClouddeployAutomationSelectorTargets.Builder extends Object implements software.amazon.jsii.Builder<ClouddeployAutomationSelectorTargets>
A builder forClouddeployAutomationSelectorTargets
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClouddeployAutomationSelectorTargetsbuild()Builds the configured instance.ClouddeployAutomationSelectorTargets.Builderid(String id)Sets the value ofClouddeployAutomationSelectorTargets.getId()ClouddeployAutomationSelectorTargets.Builderlabels(Map<String,String> labels)Sets the value ofClouddeployAutomationSelectorTargets.getLabels()
-
-
-
Method Detail
-
id
@Stability(Stable) public ClouddeployAutomationSelectorTargets.Builder id(String id)
Sets the value ofClouddeployAutomationSelectorTargets.getId()- Parameters:
id- ID of the 'Target'. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine which target is being referred to * "*", all targets in a location. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_automation#id ClouddeployAutomation#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
-
labels
@Stability(Stable) public ClouddeployAutomationSelectorTargets.Builder labels(Map<String,String> labels)
Sets the value ofClouddeployAutomationSelectorTargets.getLabels()- Parameters:
labels- Target labels. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_automation#labels ClouddeployAutomation#labels}- Returns:
this
-
build
@Stability(Stable) public ClouddeployAutomationSelectorTargets build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClouddeployAutomationSelectorTargets>- Returns:
- a new instance of
ClouddeployAutomationSelectorTargets - Throws:
NullPointerException- if any required attribute was not provided
-
-