Class IamDenyPolicyRules.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.iam_deny_policy.IamDenyPolicyRules.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IamDenyPolicyRules>
- Enclosing interface:
- IamDenyPolicyRules
@Stability(Stable) public static final class IamDenyPolicyRules.Builder extends Object implements software.amazon.jsii.Builder<IamDenyPolicyRules>
A builder forIamDenyPolicyRules
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IamDenyPolicyRulesbuild()Builds the configured instance.IamDenyPolicyRules.BuilderdenyRule(IamDenyPolicyRulesDenyRule denyRule)Sets the value ofIamDenyPolicyRules.getDenyRule()IamDenyPolicyRules.Builderdescription(String description)Sets the value ofIamDenyPolicyRules.getDescription()
-
-
-
Method Detail
-
denyRule
@Stability(Stable) public IamDenyPolicyRules.Builder denyRule(IamDenyPolicyRulesDenyRule denyRule)
Sets the value ofIamDenyPolicyRules.getDenyRule()- Parameters:
denyRule- deny_rule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_deny_policy#deny_rule IamDenyPolicy#deny_rule}- Returns:
this
-
description
@Stability(Stable) public IamDenyPolicyRules.Builder description(String description)
Sets the value ofIamDenyPolicyRules.getDescription()- Parameters:
description- The description of the rule. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_deny_policy#description IamDenyPolicy#description}- Returns:
this
-
build
@Stability(Stable) public IamDenyPolicyRules build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IamDenyPolicyRules>- Returns:
- a new instance of
IamDenyPolicyRules - Throws:
NullPointerException- if any required attribute was not provided
-
-