Class OrgPolicyPolicyDryRunSpec.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • inheritFromParent

        @Stability(Stable)
        public OrgPolicyPolicyDryRunSpec.Builder inheritFromParent​(Boolean inheritFromParent)
        Parameters:
        inheritFromParent - Determines the inheritance behavior for this policy. If 'inherit_from_parent' is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#inherit_from_parent OrgPolicyPolicy#inherit_from_parent}
        Returns:
        this
      • inheritFromParent

        @Stability(Stable)
        public OrgPolicyPolicyDryRunSpec.Builder inheritFromParent​(com.hashicorp.cdktf.IResolvable inheritFromParent)
        Parameters:
        inheritFromParent - Determines the inheritance behavior for this policy. If 'inherit_from_parent' is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#inherit_from_parent OrgPolicyPolicy#inherit_from_parent}
        Returns:
        this
      • reset

        @Stability(Stable)
        public OrgPolicyPolicyDryRunSpec.Builder reset​(Boolean reset)
        Parameters:
        reset - Ignores policies set above this resource and restores the 'constraint_default' enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, 'rules' must be empty and 'inherit_from_parent' must be set to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#reset OrgPolicyPolicy#reset}
        Returns:
        this
      • reset

        @Stability(Stable)
        public OrgPolicyPolicyDryRunSpec.Builder reset​(com.hashicorp.cdktf.IResolvable reset)
        Parameters:
        reset - Ignores policies set above this resource and restores the 'constraint_default' enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, 'rules' must be empty and 'inherit_from_parent' must be set to false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#reset OrgPolicyPolicy#reset}
        Returns:
        this
      • rules

        @Stability(Stable)
        public OrgPolicyPolicyDryRunSpec.Builder rules​(com.hashicorp.cdktf.IResolvable rules)
        Parameters:
        rules - rules block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/org_policy_policy#rules OrgPolicyPolicy#rules}
        Returns:
        this