Class ProjectOrganizationPolicyListPolicyAllow.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.project_organization_policy.ProjectOrganizationPolicyListPolicyAllow.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectOrganizationPolicyListPolicyAllow>
- Enclosing interface:
- ProjectOrganizationPolicyListPolicyAllow
@Stability(Stable) public static final class ProjectOrganizationPolicyListPolicyAllow.Builder extends Object implements software.amazon.jsii.Builder<ProjectOrganizationPolicyListPolicyAllow>
A builder forProjectOrganizationPolicyListPolicyAllow
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectOrganizationPolicyListPolicyAllow.Builderall(com.hashicorp.cdktf.IResolvable all)Sets the value ofProjectOrganizationPolicyListPolicyAllow.getAll()ProjectOrganizationPolicyListPolicyAllow.Builderall(Boolean all)Sets the value ofProjectOrganizationPolicyListPolicyAllow.getAll()ProjectOrganizationPolicyListPolicyAllowbuild()Builds the configured instance.ProjectOrganizationPolicyListPolicyAllow.Buildervalues(List<String> values)Sets the value ofProjectOrganizationPolicyListPolicyAllow.getValues()
-
-
-
Method Detail
-
all
@Stability(Stable) public ProjectOrganizationPolicyListPolicyAllow.Builder all(Boolean all)
Sets the value ofProjectOrganizationPolicyListPolicyAllow.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/project_organization_policy#all ProjectOrganizationPolicy#all}- Returns:
this
-
all
@Stability(Stable) public ProjectOrganizationPolicyListPolicyAllow.Builder all(com.hashicorp.cdktf.IResolvable all)
Sets the value ofProjectOrganizationPolicyListPolicyAllow.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/project_organization_policy#all ProjectOrganizationPolicy#all}- Returns:
this
-
values
@Stability(Stable) public ProjectOrganizationPolicyListPolicyAllow.Builder values(List<String> values)
Sets the value ofProjectOrganizationPolicyListPolicyAllow.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/project_organization_policy#values ProjectOrganizationPolicy#values}- Returns:
this
-
build
@Stability(Stable) public ProjectOrganizationPolicyListPolicyAllow build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectOrganizationPolicyListPolicyAllow>- Returns:
- a new instance of
ProjectOrganizationPolicyListPolicyAllow - Throws:
NullPointerException- if any required attribute was not provided
-
-