Class ProjectOrganizationPolicyListPolicy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.project_organization_policy.ProjectOrganizationPolicyListPolicy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectOrganizationPolicyListPolicy>
- Enclosing interface:
- ProjectOrganizationPolicyListPolicy
@Stability(Stable) public static final class ProjectOrganizationPolicyListPolicy.Builder extends Object implements software.amazon.jsii.Builder<ProjectOrganizationPolicyListPolicy>
A builder forProjectOrganizationPolicyListPolicy
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectOrganizationPolicyListPolicy.Builderallow(ProjectOrganizationPolicyListPolicyAllow allow)Sets the value ofProjectOrganizationPolicyListPolicy.getAllow()ProjectOrganizationPolicyListPolicybuild()Builds the configured instance.ProjectOrganizationPolicyListPolicy.Builderdeny(ProjectOrganizationPolicyListPolicyDeny deny)Sets the value ofProjectOrganizationPolicyListPolicy.getDeny()ProjectOrganizationPolicyListPolicy.BuilderinheritFromParent(com.hashicorp.cdktf.IResolvable inheritFromParent)Sets the value ofProjectOrganizationPolicyListPolicy.getInheritFromParent()ProjectOrganizationPolicyListPolicy.BuilderinheritFromParent(Boolean inheritFromParent)Sets the value ofProjectOrganizationPolicyListPolicy.getInheritFromParent()ProjectOrganizationPolicyListPolicy.BuildersuggestedValue(String suggestedValue)Sets the value ofProjectOrganizationPolicyListPolicy.getSuggestedValue()
-
-
-
Method Detail
-
allow
@Stability(Stable) public ProjectOrganizationPolicyListPolicy.Builder allow(ProjectOrganizationPolicyListPolicyAllow allow)
Sets the value ofProjectOrganizationPolicyListPolicy.getAllow()- Parameters:
allow- allow block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_organization_policy#allow ProjectOrganizationPolicy#allow}- Returns:
this
-
deny
@Stability(Stable) public ProjectOrganizationPolicyListPolicy.Builder deny(ProjectOrganizationPolicyListPolicyDeny deny)
Sets the value ofProjectOrganizationPolicyListPolicy.getDeny()- Parameters:
deny- deny block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_organization_policy#deny ProjectOrganizationPolicy#deny}- Returns:
this
-
inheritFromParent
@Stability(Stable) public ProjectOrganizationPolicyListPolicy.Builder inheritFromParent(Boolean inheritFromParent)
Sets the value ofProjectOrganizationPolicyListPolicy.getInheritFromParent()- Parameters:
inheritFromParent- If set to true, the values from the effective Policy of the parent resource are inherited, meaning the values set in this Policy are added to the values inherited up the hierarchy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_organization_policy#inherit_from_parent ProjectOrganizationPolicy#inherit_from_parent}- Returns:
this
-
inheritFromParent
@Stability(Stable) public ProjectOrganizationPolicyListPolicy.Builder inheritFromParent(com.hashicorp.cdktf.IResolvable inheritFromParent)
Sets the value ofProjectOrganizationPolicyListPolicy.getInheritFromParent()- Parameters:
inheritFromParent- If set to true, the values from the effective Policy of the parent resource are inherited, meaning the values set in this Policy are added to the values inherited up the hierarchy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_organization_policy#inherit_from_parent ProjectOrganizationPolicy#inherit_from_parent}- Returns:
this
-
suggestedValue
@Stability(Stable) public ProjectOrganizationPolicyListPolicy.Builder suggestedValue(String suggestedValue)
Sets the value ofProjectOrganizationPolicyListPolicy.getSuggestedValue()- Parameters:
suggestedValue- The Google Cloud Console will try to default to a configuration that matches the value specified in this field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_organization_policy#suggested_value ProjectOrganizationPolicy#suggested_value}- Returns:
this
-
build
@Stability(Stable) public ProjectOrganizationPolicyListPolicy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectOrganizationPolicyListPolicy>- Returns:
- a new instance of
ProjectOrganizationPolicyListPolicy - Throws:
NullPointerException- if any required attribute was not provided
-
-