Class OrgPolicyPolicySpecRulesValues.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.org_policy_policy.OrgPolicyPolicySpecRulesValues.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrgPolicyPolicySpecRulesValues>
- Enclosing interface:
- OrgPolicyPolicySpecRulesValues
@Stability(Stable) public static final class OrgPolicyPolicySpecRulesValues.Builder extends Object implements software.amazon.jsii.Builder<OrgPolicyPolicySpecRulesValues>
A builder forOrgPolicyPolicySpecRulesValues
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrgPolicyPolicySpecRulesValues.BuilderallowedValues(List<String> allowedValues)Sets the value ofOrgPolicyPolicySpecRulesValues.getAllowedValues()OrgPolicyPolicySpecRulesValuesbuild()Builds the configured instance.OrgPolicyPolicySpecRulesValues.BuilderdeniedValues(List<String> deniedValues)Sets the value ofOrgPolicyPolicySpecRulesValues.getDeniedValues()
-
-
-
Method Detail
-
allowedValues
@Stability(Stable) public OrgPolicyPolicySpecRulesValues.Builder allowedValues(List<String> allowedValues)
Sets the value ofOrgPolicyPolicySpecRulesValues.getAllowedValues()- Parameters:
allowedValues- List of values allowed at this resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#allowed_values OrgPolicyPolicy#allowed_values}- Returns:
this
-
deniedValues
@Stability(Stable) public OrgPolicyPolicySpecRulesValues.Builder deniedValues(List<String> deniedValues)
Sets the value ofOrgPolicyPolicySpecRulesValues.getDeniedValues()- Parameters:
deniedValues- List of values denied at this resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#denied_values OrgPolicyPolicy#denied_values}- Returns:
this
-
build
@Stability(Stable) public OrgPolicyPolicySpecRulesValues build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OrgPolicyPolicySpecRulesValues>- Returns:
- a new instance of
OrgPolicyPolicySpecRulesValues - Throws:
NullPointerException- if any required attribute was not provided
-
-