Class SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.securityposture_posture.SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom>
- Enclosing interface:
- SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom
@Stability(Stable) public static final class SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.Builder extends Object implements software.amazon.jsii.Builder<SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustombuild()Builds the configured instance.SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.BuildercustomConstraint(SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint customConstraint)SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.BuilderpolicyRules(com.hashicorp.cdktf.IResolvable policyRules)SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.BuilderpolicyRules(List<? extends SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomPolicyRules> policyRules)
-
-
-
Method Detail
-
policyRules
@Stability(Stable) public SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.Builder policyRules(com.hashicorp.cdktf.IResolvable policyRules)
Sets the value ofSecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.getPolicyRules()- Parameters:
policyRules- policy_rules block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#policy_rules SecurityposturePosture#policy_rules}- Returns:
this
-
policyRules
@Stability(Stable) public SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.Builder policyRules(List<? extends SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomPolicyRules> policyRules)
Sets the value ofSecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.getPolicyRules()- Parameters:
policyRules- policy_rules block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#policy_rules SecurityposturePosture#policy_rules}- Returns:
this
-
customConstraint
@Stability(Stable) public SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.Builder customConstraint(SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustomCustomConstraint customConstraint)
Sets the value ofSecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom.getCustomConstraint()- Parameters:
customConstraint- custom_constraint block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/securityposture_posture#custom_constraint SecurityposturePosture#custom_constraint}- Returns:
this
-
build
@Stability(Stable) public SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom>- Returns:
- a new instance of
SecurityposturePosturePolicySetsPoliciesConstraintOrgPolicyConstraintCustom - Throws:
NullPointerException- if any required attribute was not provided
-
-