Class OrganizationPolicyListPolicy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.organization_policy.OrganizationPolicyListPolicy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrganizationPolicyListPolicy>
- Enclosing interface:
- OrganizationPolicyListPolicy
@Stability(Stable) public static final class OrganizationPolicyListPolicy.Builder extends Object implements software.amazon.jsii.Builder<OrganizationPolicyListPolicy>
A builder forOrganizationPolicyListPolicy
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationPolicyListPolicy.Builderallow(OrganizationPolicyListPolicyAllow allow)Sets the value ofOrganizationPolicyListPolicy.getAllow()OrganizationPolicyListPolicybuild()Builds the configured instance.OrganizationPolicyListPolicy.Builderdeny(OrganizationPolicyListPolicyDeny deny)Sets the value ofOrganizationPolicyListPolicy.getDeny()OrganizationPolicyListPolicy.BuilderinheritFromParent(com.hashicorp.cdktf.IResolvable inheritFromParent)Sets the value ofOrganizationPolicyListPolicy.getInheritFromParent()OrganizationPolicyListPolicy.BuilderinheritFromParent(Boolean inheritFromParent)Sets the value ofOrganizationPolicyListPolicy.getInheritFromParent()OrganizationPolicyListPolicy.BuildersuggestedValue(String suggestedValue)Sets the value ofOrganizationPolicyListPolicy.getSuggestedValue()
-
-
-
Method Detail
-
allow
@Stability(Stable) public OrganizationPolicyListPolicy.Builder allow(OrganizationPolicyListPolicyAllow allow)
Sets the value ofOrganizationPolicyListPolicy.getAllow()- Parameters:
allow- allow block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_policy#allow OrganizationPolicy#allow}- Returns:
this
-
deny
@Stability(Stable) public OrganizationPolicyListPolicy.Builder deny(OrganizationPolicyListPolicyDeny deny)
Sets the value ofOrganizationPolicyListPolicy.getDeny()- Parameters:
deny- deny block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_policy#deny OrganizationPolicy#deny}- Returns:
this
-
inheritFromParent
@Stability(Stable) public OrganizationPolicyListPolicy.Builder inheritFromParent(Boolean inheritFromParent)
Sets the value ofOrganizationPolicyListPolicy.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/organization_policy#inherit_from_parent OrganizationPolicy#inherit_from_parent}- Returns:
this
-
inheritFromParent
@Stability(Stable) public OrganizationPolicyListPolicy.Builder inheritFromParent(com.hashicorp.cdktf.IResolvable inheritFromParent)
Sets the value ofOrganizationPolicyListPolicy.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/organization_policy#inherit_from_parent OrganizationPolicy#inherit_from_parent}- Returns:
this
-
suggestedValue
@Stability(Stable) public OrganizationPolicyListPolicy.Builder suggestedValue(String suggestedValue)
Sets the value ofOrganizationPolicyListPolicy.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/organization_policy#suggested_value OrganizationPolicy#suggested_value}- Returns:
this
-
build
@Stability(Stable) public OrganizationPolicyListPolicy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OrganizationPolicyListPolicy>- Returns:
- a new instance of
OrganizationPolicyListPolicy - Throws:
NullPointerException- if any required attribute was not provided
-
-