Class OrganizationPolicyListPolicyAllow.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.organization_policy.OrganizationPolicyListPolicyAllow.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrganizationPolicyListPolicyAllow>
- Enclosing interface:
- OrganizationPolicyListPolicyAllow
@Stability(Stable) public static final class OrganizationPolicyListPolicyAllow.Builder extends Object implements software.amazon.jsii.Builder<OrganizationPolicyListPolicyAllow>
A builder forOrganizationPolicyListPolicyAllow
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationPolicyListPolicyAllow.Builderall(com.hashicorp.cdktf.IResolvable all)Sets the value ofOrganizationPolicyListPolicyAllow.getAll()OrganizationPolicyListPolicyAllow.Builderall(Boolean all)Sets the value ofOrganizationPolicyListPolicyAllow.getAll()OrganizationPolicyListPolicyAllowbuild()Builds the configured instance.OrganizationPolicyListPolicyAllow.Buildervalues(List<String> values)Sets the value ofOrganizationPolicyListPolicyAllow.getValues()
-
-
-
Method Detail
-
all
@Stability(Stable) public OrganizationPolicyListPolicyAllow.Builder all(Boolean all)
Sets the value ofOrganizationPolicyListPolicyAllow.getAll()- Parameters:
all- The policy allows or denies all values. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_policy#all OrganizationPolicy#all}- Returns:
this
-
all
@Stability(Stable) public OrganizationPolicyListPolicyAllow.Builder all(com.hashicorp.cdktf.IResolvable all)
Sets the value ofOrganizationPolicyListPolicyAllow.getAll()- Parameters:
all- The policy allows or denies all values. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_policy#all OrganizationPolicy#all}- Returns:
this
-
values
@Stability(Stable) public OrganizationPolicyListPolicyAllow.Builder values(List<String> values)
Sets the value ofOrganizationPolicyListPolicyAllow.getValues()- Parameters:
values- The policy can define specific values that are allowed or denied. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_policy#values OrganizationPolicy#values}- Returns:
this
-
build
@Stability(Stable) public OrganizationPolicyListPolicyAllow build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OrganizationPolicyListPolicyAllow>- Returns:
- a new instance of
OrganizationPolicyListPolicyAllow - Throws:
NullPointerException- if any required attribute was not provided
-
-