com.pulumi.aws.wafv2.outputs.WebAclRuleStatementRateBasedStatementScopeDownStatementSqliMatchStatementFieldToMatchBody Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.wafv2.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WebAclRuleStatementRateBasedStatementScopeDownStatementSqliMatchStatementFieldToMatchBody {
/**
* @return What WAF should do if the body is larger than WAF can inspect. WAF does not support inspecting the entire contents of the body of a web request when the body exceeds 8 KB (8192 bytes). Only the first 8 KB of the request body are forwarded to WAF by the underlying host service. Valid values: `CONTINUE`, `MATCH`, `NO_MATCH`.
*
*/
private @Nullable String oversizeHandling;
private WebAclRuleStatementRateBasedStatementScopeDownStatementSqliMatchStatementFieldToMatchBody() {}
/**
* @return What WAF should do if the body is larger than WAF can inspect. WAF does not support inspecting the entire contents of the body of a web request when the body exceeds 8 KB (8192 bytes). Only the first 8 KB of the request body are forwarded to WAF by the underlying host service. Valid values: `CONTINUE`, `MATCH`, `NO_MATCH`.
*
*/
public Optional oversizeHandling() {
return Optional.ofNullable(this.oversizeHandling);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WebAclRuleStatementRateBasedStatementScopeDownStatementSqliMatchStatementFieldToMatchBody defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String oversizeHandling;
public Builder() {}
public Builder(WebAclRuleStatementRateBasedStatementScopeDownStatementSqliMatchStatementFieldToMatchBody defaults) {
Objects.requireNonNull(defaults);
this.oversizeHandling = defaults.oversizeHandling;
}
@CustomType.Setter
public Builder oversizeHandling(@Nullable String oversizeHandling) {
this.oversizeHandling = oversizeHandling;
return this;
}
public WebAclRuleStatementRateBasedStatementScopeDownStatementSqliMatchStatementFieldToMatchBody build() {
final var _resultValue = new WebAclRuleStatementRateBasedStatementScopeDownStatementSqliMatchStatementFieldToMatchBody();
_resultValue.oversizeHandling = oversizeHandling;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy