Class ComputeSecurityPolicyRuleMatchConfigA.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_security_policy_rule.ComputeSecurityPolicyRuleMatchConfigA.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeSecurityPolicyRuleMatchConfigA>
- Enclosing interface:
- ComputeSecurityPolicyRuleMatchConfigA
@Stability(Stable) public static final class ComputeSecurityPolicyRuleMatchConfigA.Builder extends Object implements software.amazon.jsii.Builder<ComputeSecurityPolicyRuleMatchConfigA>
A builder forComputeSecurityPolicyRuleMatchConfigA
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeSecurityPolicyRuleMatchConfigAbuild()Builds the configured instance.ComputeSecurityPolicyRuleMatchConfigA.BuildersrcIpRanges(List<String> srcIpRanges)Sets the value ofComputeSecurityPolicyRuleMatchConfigA.getSrcIpRanges()
-
-
-
Method Detail
-
srcIpRanges
@Stability(Stable) public ComputeSecurityPolicyRuleMatchConfigA.Builder srcIpRanges(List<String> srcIpRanges)
Sets the value ofComputeSecurityPolicyRuleMatchConfigA.getSrcIpRanges()- Parameters:
srcIpRanges- CIDR IP address range. Maximum number of srcIpRanges allowed is 10. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#src_ip_ranges ComputeSecurityPolicyRuleA#src_ip_ranges}- Returns:
this
-
build
@Stability(Stable) public ComputeSecurityPolicyRuleMatchConfigA build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeSecurityPolicyRuleMatchConfigA>- Returns:
- a new instance of
ComputeSecurityPolicyRuleMatchConfigA - Throws:
NullPointerException- if any required attribute was not provided
-
-