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