Class OrgPolicyPolicyDryRunSpecRules.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.org_policy_policy.OrgPolicyPolicyDryRunSpecRules.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrgPolicyPolicyDryRunSpecRules>
- Enclosing interface:
- OrgPolicyPolicyDryRunSpecRules
@Stability(Stable) public static final class OrgPolicyPolicyDryRunSpecRules.Builder extends Object implements software.amazon.jsii.Builder<OrgPolicyPolicyDryRunSpecRules>
A builder forOrgPolicyPolicyDryRunSpecRules
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrgPolicyPolicyDryRunSpecRules.BuilderallowAll(String allowAll)Sets the value ofOrgPolicyPolicyDryRunSpecRules.getAllowAll()OrgPolicyPolicyDryRunSpecRulesbuild()Builds the configured instance.OrgPolicyPolicyDryRunSpecRules.Buildercondition(OrgPolicyPolicyDryRunSpecRulesCondition condition)Sets the value ofOrgPolicyPolicyDryRunSpecRules.getCondition()OrgPolicyPolicyDryRunSpecRules.BuilderdenyAll(String denyAll)Sets the value ofOrgPolicyPolicyDryRunSpecRules.getDenyAll()OrgPolicyPolicyDryRunSpecRules.Builderenforce(String enforce)Sets the value ofOrgPolicyPolicyDryRunSpecRules.getEnforce()OrgPolicyPolicyDryRunSpecRules.Buildervalues(OrgPolicyPolicyDryRunSpecRulesValues values)Sets the value ofOrgPolicyPolicyDryRunSpecRules.getValues()
-
-
-
Method Detail
-
allowAll
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRules.Builder allowAll(String allowAll)
Sets the value ofOrgPolicyPolicyDryRunSpecRules.getAllowAll()- Parameters:
allowAll- Setting this to '"TRUE"' means that all values are allowed. This field can be set only in Policies for list constraints. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#allow_all OrgPolicyPolicy#allow_all}- Returns:
this
-
condition
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRules.Builder condition(OrgPolicyPolicyDryRunSpecRulesCondition condition)
Sets the value ofOrgPolicyPolicyDryRunSpecRules.getCondition()- Parameters:
condition- condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#condition OrgPolicyPolicy#condition}- Returns:
this
-
denyAll
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRules.Builder denyAll(String denyAll)
Sets the value ofOrgPolicyPolicyDryRunSpecRules.getDenyAll()- Parameters:
denyAll- Setting this to '"TRUE"' means that all values are denied. This field can be set only in Policies for list constraints. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#deny_all OrgPolicyPolicy#deny_all}- Returns:
this
-
enforce
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRules.Builder enforce(String enforce)
Sets the value ofOrgPolicyPolicyDryRunSpecRules.getEnforce()- Parameters:
enforce- If '"TRUE"', then the 'Policy' is enforced. If '"FALSE"', then any configuration is acceptable. This field can be set only in Policies for boolean constraints. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#enforce OrgPolicyPolicy#enforce}- Returns:
this
-
values
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRules.Builder values(OrgPolicyPolicyDryRunSpecRulesValues values)
Sets the value ofOrgPolicyPolicyDryRunSpecRules.getValues()- Parameters:
values- values block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#values OrgPolicyPolicy#values}- Returns:
this
-
build
@Stability(Stable) public OrgPolicyPolicyDryRunSpecRules build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OrgPolicyPolicyDryRunSpecRules>- Returns:
- a new instance of
OrgPolicyPolicyDryRunSpecRules - Throws:
NullPointerException- if any required attribute was not provided
-
-