Class ComputeSecurityPolicyRuleMatchA.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_security_policy_rule.ComputeSecurityPolicyRuleMatchA.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeSecurityPolicyRuleMatchA>
- Enclosing interface:
- ComputeSecurityPolicyRuleMatchA
@Stability(Stable) public static final class ComputeSecurityPolicyRuleMatchA.Builder extends Object implements software.amazon.jsii.Builder<ComputeSecurityPolicyRuleMatchA>
A builder forComputeSecurityPolicyRuleMatchA
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeSecurityPolicyRuleMatchAbuild()Builds the configured instance.ComputeSecurityPolicyRuleMatchA.Builderconfig(ComputeSecurityPolicyRuleMatchConfigA config)Sets the value ofComputeSecurityPolicyRuleMatchA.getConfig()ComputeSecurityPolicyRuleMatchA.Builderexpr(ComputeSecurityPolicyRuleMatchExprA expr)Sets the value ofComputeSecurityPolicyRuleMatchA.getExpr()ComputeSecurityPolicyRuleMatchA.BuilderexprOptions(ComputeSecurityPolicyRuleMatchExprOptionsA exprOptions)Sets the value ofComputeSecurityPolicyRuleMatchA.getExprOptions()ComputeSecurityPolicyRuleMatchA.BuilderversionedExpr(String versionedExpr)Sets the value ofComputeSecurityPolicyRuleMatchA.getVersionedExpr()
-
-
-
Method Detail
-
config
@Stability(Stable) public ComputeSecurityPolicyRuleMatchA.Builder config(ComputeSecurityPolicyRuleMatchConfigA config)
Sets the value ofComputeSecurityPolicyRuleMatchA.getConfig()- Parameters:
config- config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#config ComputeSecurityPolicyRuleA#config}- Returns:
this
-
expr
@Stability(Stable) public ComputeSecurityPolicyRuleMatchA.Builder expr(ComputeSecurityPolicyRuleMatchExprA expr)
Sets the value ofComputeSecurityPolicyRuleMatchA.getExpr()- Parameters:
expr- expr block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#expr ComputeSecurityPolicyRuleA#expr}- Returns:
this
-
exprOptions
@Stability(Stable) public ComputeSecurityPolicyRuleMatchA.Builder exprOptions(ComputeSecurityPolicyRuleMatchExprOptionsA exprOptions)
Sets the value ofComputeSecurityPolicyRuleMatchA.getExprOptions()- Parameters:
exprOptions- expr_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#expr_options ComputeSecurityPolicyRuleA#expr_options}- Returns:
this
-
versionedExpr
@Stability(Stable) public ComputeSecurityPolicyRuleMatchA.Builder versionedExpr(String versionedExpr)
Sets the value ofComputeSecurityPolicyRuleMatchA.getVersionedExpr()- Parameters:
versionedExpr- Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding srcIpRange field in config. Possible values: ["SRC_IPS_V1"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#versioned_expr ComputeSecurityPolicyRuleA#versioned_expr}- Returns:
this
-
build
@Stability(Stable) public ComputeSecurityPolicyRuleMatchA build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeSecurityPolicyRuleMatchA>- Returns:
- a new instance of
ComputeSecurityPolicyRuleMatchA - Throws:
NullPointerException- if any required attribute was not provided
-
-