Class ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_security_policy_rule.ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie>
- Enclosing interface:
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie
@Stability(Stable) public static final class ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.Builder extends Object implements software.amazon.jsii.Builder<ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookiebuild()Builds the configured instance.ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.Builderoperator(String operator)ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.Buildervalue(String value)
-
-
-
Method Detail
-
operator
@Stability(Stable) public ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.Builder operator(String operator)
Sets the value ofComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.getOperator()- Parameters:
operator- You can specify an exact match or a partial match by using a field operator and a field value. This parameter is required. Available options: EQUALS: The operator matches if the field value equals the specified value. STARTS_WITH: The operator matches if the field value starts with the specified value. ENDS_WITH: The operator matches if the field value ends with the specified value. CONTAINS: The operator matches if the field value contains the specified value. EQUALS_ANY: The operator matches if the field value is any value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#operator ComputeSecurityPolicyRuleA#operator}- Returns:
this
-
value
@Stability(Stable) public ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie.Builder value(String value)
- Parameters:
value- A request field matching the specified value will be excluded from inspection during preconfigured WAF evaluation. The field value must be given if the field operator is not EQUALS_ANY, and cannot be given if the field operator is EQUALS_ANY. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#value ComputeSecurityPolicyRuleA#value}- Returns:
this
-
build
@Stability(Stable) public ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie>- Returns:
- a new instance of
ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestCookie - Throws:
NullPointerException- if any required attribute was not provided
-
-