Class OrganizationPolicyRestorePolicy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.organization_policy.OrganizationPolicyRestorePolicy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrganizationPolicyRestorePolicy>
- Enclosing interface:
- OrganizationPolicyRestorePolicy
@Stability(Stable) public static final class OrganizationPolicyRestorePolicy.Builder extends Object implements software.amazon.jsii.Builder<OrganizationPolicyRestorePolicy>
A builder forOrganizationPolicyRestorePolicy
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationPolicyRestorePolicybuild()Builds the configured instance.OrganizationPolicyRestorePolicy.BuilderdefaultValue(com.hashicorp.cdktf.IResolvable defaultValue)Sets the value ofOrganizationPolicyRestorePolicy.getDefaultValue()OrganizationPolicyRestorePolicy.BuilderdefaultValue(Boolean defaultValue)Sets the value ofOrganizationPolicyRestorePolicy.getDefaultValue()
-
-
-
Method Detail
-
defaultValue
@Stability(Stable) public OrganizationPolicyRestorePolicy.Builder defaultValue(Boolean defaultValue)
Sets the value ofOrganizationPolicyRestorePolicy.getDefaultValue()- Parameters:
defaultValue- May only be set to true. If set, then the default Policy is restored. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_policy#default OrganizationPolicy#default}- Returns:
this
-
defaultValue
@Stability(Stable) public OrganizationPolicyRestorePolicy.Builder defaultValue(com.hashicorp.cdktf.IResolvable defaultValue)
Sets the value ofOrganizationPolicyRestorePolicy.getDefaultValue()- Parameters:
defaultValue- May only be set to true. If set, then the default Policy is restored. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_policy#default OrganizationPolicy#default}- Returns:
this
-
build
@Stability(Stable) public OrganizationPolicyRestorePolicy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OrganizationPolicyRestorePolicy>- Returns:
- a new instance of
OrganizationPolicyRestorePolicy - Throws:
NullPointerException- if any required attribute was not provided
-
-