Class ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_security_policy_rule.ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader>
- Enclosing interface:
- ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader
@Stability(Stable) public static final class ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.Builder extends Object implements software.amazon.jsii.Builder<ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeaderbuild()Builds the configured instance.ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.Builderoperator(String operator)ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.Buildervalue(String value)
-
-
-
Method Detail
-
operator
@Stability(Stable) public ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.Builder operator(String operator)
Sets the value ofComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.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 ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader.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 ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader>- Returns:
- a new instance of
ComputeSecurityPolicyRulePreconfiguredWafConfigExclusionRequestHeader - Throws:
NullPointerException- if any required attribute was not provided
-
-