Class OrgPolicyPolicyDryRunSpecRulesCondition.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.org_policy_policy.OrgPolicyPolicyDryRunSpecRulesCondition.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrgPolicyPolicyDryRunSpecRulesCondition>
- Enclosing interface:
- OrgPolicyPolicyDryRunSpecRulesCondition
@Stability(Stable) public static final class OrgPolicyPolicyDryRunSpecRulesCondition.Builder extends Object implements software.amazon.jsii.Builder<OrgPolicyPolicyDryRunSpecRulesCondition>
A builder forOrgPolicyPolicyDryRunSpecRulesCondition
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrgPolicyPolicyDryRunSpecRulesConditionbuild()Builds the configured instance.OrgPolicyPolicyDryRunSpecRulesCondition.Builderdescription(String description)Sets the value ofOrgPolicyPolicyDryRunSpecRulesCondition.getDescription()OrgPolicyPolicyDryRunSpecRulesCondition.Builderexpression(String expression)Sets the value ofOrgPolicyPolicyDryRunSpecRulesCondition.getExpression()OrgPolicyPolicyDryRunSpecRulesCondition.Builderlocation(String location)Sets the value ofOrgPolicyPolicyDryRunSpecRulesCondition.getLocation()OrgPolicyPolicyDryRunSpecRulesCondition.Buildertitle(String title)Sets the value ofOrgPolicyPolicyDryRunSpecRulesCondition.getTitle()
-
-
-
Method Detail
-
description
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRulesCondition.Builder description(String description)
Sets the value ofOrgPolicyPolicyDryRunSpecRulesCondition.getDescription()- Parameters:
description- Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#description OrgPolicyPolicy#description}- Returns:
this
-
expression
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRulesCondition.Builder expression(String expression)
Sets the value ofOrgPolicyPolicyDryRunSpecRulesCondition.getExpression()- Parameters:
expression- Textual representation of an expression in Common Expression Language syntax. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#expression OrgPolicyPolicy#expression}- Returns:
this
-
location
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRulesCondition.Builder location(String location)
Sets the value ofOrgPolicyPolicyDryRunSpecRulesCondition.getLocation()- Parameters:
location- Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#location OrgPolicyPolicy#location}- Returns:
this
-
title
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRulesCondition.Builder title(String title)
Sets the value ofOrgPolicyPolicyDryRunSpecRulesCondition.getTitle()- Parameters:
title- Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#title OrgPolicyPolicy#title}- Returns:
this
-
build
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRulesCondition build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OrgPolicyPolicyDryRunSpecRulesCondition>- Returns:
- a new instance of
OrgPolicyPolicyDryRunSpecRulesCondition - Throws:
NullPointerException- if any required attribute was not provided
-
-