public static interface FieldToMatch.Builder extends SdkPojo, CopyableBuilder<FieldToMatch.Builder,FieldToMatch>
| Modifier and Type | Method and Description |
|---|---|
FieldToMatch.Builder |
allQueryArguments(AllQueryArguments allQueryArguments)
Inspect all query arguments.
|
default FieldToMatch.Builder |
allQueryArguments(Consumer<AllQueryArguments.Builder> allQueryArguments)
Inspect all query arguments.
|
FieldToMatch.Builder |
body(Body body)
Inspect the request body as plain text.
|
default FieldToMatch.Builder |
body(Consumer<Body.Builder> body)
Inspect the request body as plain text.
|
default FieldToMatch.Builder |
cookies(Consumer<Cookies.Builder> cookies)
Inspect the request cookies.
|
FieldToMatch.Builder |
cookies(Cookies cookies)
Inspect the request cookies.
|
default FieldToMatch.Builder |
headers(Consumer<Headers.Builder> headers)
Inspect the request headers.
|
FieldToMatch.Builder |
headers(Headers headers)
Inspect the request headers.
|
default FieldToMatch.Builder |
jsonBody(Consumer<JsonBody.Builder> jsonBody)
Inspect the request body as JSON.
|
FieldToMatch.Builder |
jsonBody(JsonBody jsonBody)
Inspect the request body as JSON.
|
default FieldToMatch.Builder |
method(Consumer<Method.Builder> method)
Inspect the HTTP method.
|
FieldToMatch.Builder |
method(Method method)
Inspect the HTTP method.
|
default FieldToMatch.Builder |
queryString(Consumer<QueryString.Builder> queryString)
Inspect the query string.
|
FieldToMatch.Builder |
queryString(QueryString queryString)
Inspect the query string.
|
default FieldToMatch.Builder |
singleHeader(Consumer<SingleHeader.Builder> singleHeader)
Inspect a single header.
|
FieldToMatch.Builder |
singleHeader(SingleHeader singleHeader)
Inspect a single header.
|
default FieldToMatch.Builder |
singleQueryArgument(Consumer<SingleQueryArgument.Builder> singleQueryArgument)
Inspect a single query argument.
|
FieldToMatch.Builder |
singleQueryArgument(SingleQueryArgument singleQueryArgument)
Inspect a single query argument.
|
default FieldToMatch.Builder |
uriPath(Consumer<UriPath.Builder> uriPath)
Inspect the request URI path.
|
FieldToMatch.Builder |
uriPath(UriPath uriPath)
Inspect the request URI path.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFieldToMatch.Builder singleHeader(SingleHeader singleHeader)
Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or
Referer. This setting isn't case sensitive.
Example JSON: "SingleHeader": { "Name": "haystack" }
Alternately, you can filter and inspect all headers with the Headers FieldToMatch
setting.
singleHeader - Inspect a single header. Provide the name of the header to inspect, for example,
User-Agent or Referer. This setting isn't case sensitive.
Example JSON: "SingleHeader": { "Name": "haystack" }
Alternately, you can filter and inspect all headers with the Headers
FieldToMatch setting.
default FieldToMatch.Builder singleHeader(Consumer<SingleHeader.Builder> singleHeader)
Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or
Referer. This setting isn't case sensitive.
Example JSON: "SingleHeader": { "Name": "haystack" }
Alternately, you can filter and inspect all headers with the Headers FieldToMatch
setting.
SingleHeader.Builder avoiding the need
to create one manually via SingleHeader.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to singleHeader(SingleHeader).
singleHeader - a consumer that will call methods on SingleHeader.BuildersingleHeader(SingleHeader)FieldToMatch.Builder singleQueryArgument(SingleQueryArgument singleQueryArgument)
Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.
Example JSON: "SingleQueryArgument": { "Name": "myArgument" }
singleQueryArgument - Inspect a single query argument. Provide the name of the query argument to inspect, such as
UserName or SalesRegion. The name can be up to 30 characters long and isn't case
sensitive.
Example JSON: "SingleQueryArgument": { "Name": "myArgument" }
default FieldToMatch.Builder singleQueryArgument(Consumer<SingleQueryArgument.Builder> singleQueryArgument)
Inspect a single query argument. Provide the name of the query argument to inspect, such as UserName or SalesRegion. The name can be up to 30 characters long and isn't case sensitive.
Example JSON: "SingleQueryArgument": { "Name": "myArgument" }
SingleQueryArgument.Builder avoiding the
need to create one manually via SingleQueryArgument.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to singleQueryArgument(SingleQueryArgument).
singleQueryArgument - a consumer that will call methods on SingleQueryArgument.BuildersingleQueryArgument(SingleQueryArgument)FieldToMatch.Builder allQueryArguments(AllQueryArguments allQueryArguments)
Inspect all query arguments.
allQueryArguments - Inspect all query arguments.default FieldToMatch.Builder allQueryArguments(Consumer<AllQueryArguments.Builder> allQueryArguments)
Inspect all query arguments.
This is a convenience method that creates an instance of theAllQueryArguments.Builder avoiding the
need to create one manually via AllQueryArguments.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to allQueryArguments(AllQueryArguments).
allQueryArguments - a consumer that will call methods on AllQueryArguments.BuilderallQueryArguments(AllQueryArguments)FieldToMatch.Builder uriPath(UriPath uriPath)
Inspect the request URI path. This is the part of the web request that identifies a resource, for example,
/images/daily-ad.jpg.
uriPath - Inspect the request URI path. This is the part of the web request that identifies a resource, for
example, /images/daily-ad.jpg.default FieldToMatch.Builder uriPath(Consumer<UriPath.Builder> uriPath)
Inspect the request URI path. This is the part of the web request that identifies a resource, for example,
/images/daily-ad.jpg.
UriPath.Builder avoiding the need to
create one manually via UriPath.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to uriPath(UriPath).
uriPath - a consumer that will call methods on UriPath.BuilderuriPath(UriPath)FieldToMatch.Builder queryString(QueryString queryString)
Inspect the query string. This is the part of a URL that appears after a ? character, if any.
queryString - Inspect the query string. This is the part of a URL that appears after a ? character, if
any.default FieldToMatch.Builder queryString(Consumer<QueryString.Builder> queryString)
Inspect the query string. This is the part of a URL that appears after a ? character, if any.
QueryString.Builder avoiding the need to
create one manually via QueryString.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to queryString(QueryString).
queryString - a consumer that will call methods on QueryString.BuilderqueryString(QueryString)FieldToMatch.Builder body(Body body)
Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.
Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying
host service. For information about how to handle oversized request bodies, see the Body object
configuration.
body - Inspect the request body as plain text. The request body immediately follows the request headers. This
is the part of a request that contains any additional data that you want to send to your web server as
the HTTP request body, such as data from a form.
Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the
underlying host service. For information about how to handle oversized request bodies, see the
Body object configuration.
default FieldToMatch.Builder body(Consumer<Body.Builder> body)
Inspect the request body as plain text. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.
Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying
host service. For information about how to handle oversized request bodies, see the Body object
configuration.
Body.Builder avoiding the need to create
one manually via Body.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to body(Body).
body - a consumer that will call methods on Body.Builderbody(Body)FieldToMatch.Builder method(Method method)
Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.
method - Inspect the HTTP method. The method indicates the type of operation that the request is asking the
origin to perform.default FieldToMatch.Builder method(Consumer<Method.Builder> method)
Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.
This is a convenience method that creates an instance of theMethod.Builder avoiding the need to
create one manually via Method.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to method(Method).
method - a consumer that will call methods on Method.Buildermethod(Method)FieldToMatch.Builder jsonBody(JsonBody jsonBody)
Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.
Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying
host service. For information about how to handle oversized request bodies, see the JsonBody
object configuration.
jsonBody - Inspect the request body as JSON. The request body immediately follows the request headers. This is
the part of a request that contains any additional data that you want to send to your web server as
the HTTP request body, such as data from a form.
Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the
underlying host service. For information about how to handle oversized request bodies, see the
JsonBody object configuration.
default FieldToMatch.Builder jsonBody(Consumer<JsonBody.Builder> jsonBody)
Inspect the request body as JSON. The request body immediately follows the request headers. This is the part of a request that contains any additional data that you want to send to your web server as the HTTP request body, such as data from a form.
Only the first 8 KB (8192 bytes) of the request body are forwarded to WAF for inspection by the underlying
host service. For information about how to handle oversized request bodies, see the JsonBody
object configuration.
JsonBody.Builder avoiding the need to
create one manually via JsonBody.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to jsonBody(JsonBody).
jsonBody - a consumer that will call methods on JsonBody.BuilderjsonBody(JsonBody)FieldToMatch.Builder headers(Headers headers)
Inspect the request headers. You must configure scope and pattern matching filters in the
Headers object, to define the set of headers to and the parts of the headers that WAF inspects.
Only the first 8 KB (8192 bytes) of a request's headers and only the first 200 headers are forwarded to WAF
for inspection by the underlying host service. You must configure how to handle any oversize header content
in the Headers object. WAF applies the pattern matching filters to the headers that it receives
from the underlying host service.
headers - Inspect the request headers. You must configure scope and pattern matching filters in the
Headers object, to define the set of headers to and the parts of the headers that WAF
inspects.
Only the first 8 KB (8192 bytes) of a request's headers and only the first 200 headers are forwarded
to WAF for inspection by the underlying host service. You must configure how to handle any oversize
header content in the Headers object. WAF applies the pattern matching filters to the
headers that it receives from the underlying host service.
default FieldToMatch.Builder headers(Consumer<Headers.Builder> headers)
Inspect the request headers. You must configure scope and pattern matching filters in the
Headers object, to define the set of headers to and the parts of the headers that WAF inspects.
Only the first 8 KB (8192 bytes) of a request's headers and only the first 200 headers are forwarded to WAF
for inspection by the underlying host service. You must configure how to handle any oversize header content
in the Headers object. WAF applies the pattern matching filters to the headers that it receives
from the underlying host service.
Headers.Builder avoiding the need to
create one manually via Headers.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to headers(Headers).
headers - a consumer that will call methods on Headers.Builderheaders(Headers)FieldToMatch.Builder cookies(Cookies cookies)
Inspect the request cookies. You must configure scope and pattern matching filters in the
Cookies object, to define the set of cookies and the parts of the cookies that WAF inspects.
Only the first 8 KB (8192 bytes) of a request's cookies and only the first 200 cookies are forwarded to WAF
for inspection by the underlying host service. You must configure how to handle any oversize cookie content
in the Cookies object. WAF applies the pattern matching filters to the cookies that it receives
from the underlying host service.
cookies - Inspect the request cookies. You must configure scope and pattern matching filters in the
Cookies object, to define the set of cookies and the parts of the cookies that WAF
inspects.
Only the first 8 KB (8192 bytes) of a request's cookies and only the first 200 cookies are forwarded
to WAF for inspection by the underlying host service. You must configure how to handle any oversize
cookie content in the Cookies object. WAF applies the pattern matching filters to the
cookies that it receives from the underlying host service.
default FieldToMatch.Builder cookies(Consumer<Cookies.Builder> cookies)
Inspect the request cookies. You must configure scope and pattern matching filters in the
Cookies object, to define the set of cookies and the parts of the cookies that WAF inspects.
Only the first 8 KB (8192 bytes) of a request's cookies and only the first 200 cookies are forwarded to WAF
for inspection by the underlying host service. You must configure how to handle any oversize cookie content
in the Cookies object. WAF applies the pattern matching filters to the cookies that it receives
from the underlying host service.
Cookies.Builder avoiding the need to
create one manually via Cookies.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to cookies(Cookies).
cookies - a consumer that will call methods on Cookies.Buildercookies(Cookies)Copyright © 2022. All rights reserved.