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