CopyableBuilder<SampledHTTPRequest.Builder,SampledHTTPRequest>, SdkBuilder<SampledHTTPRequest.Builder,SampledHTTPRequest>public static interface SampledHTTPRequest.Builder extends CopyableBuilder<SampledHTTPRequest.Builder,SampledHTTPRequest>
| Modifier and Type | Method | Description |
|---|---|---|
SampledHTTPRequest.Builder |
action(String action) |
The action for the
Rule that the request matched: ALLOW, BLOCK, or
COUNT. |
SampledHTTPRequest.Builder |
request(HTTPRequest request) |
A complex type that contains detailed information about the request.
|
SampledHTTPRequest.Builder |
timestamp(Date timestamp) |
The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).
|
SampledHTTPRequest.Builder |
weight(Long weight) |
A value that indicates how one result in the response relates proportionally to other results in the
response.
|
copyapply, buildSampledHTTPRequest.Builder request(HTTPRequest request)
A complex type that contains detailed information about the request.
request - A complex type that contains detailed information about the request.SampledHTTPRequest.Builder weight(Long weight)
A value that indicates how one result in the response relates proportionally to other results in the
response. A result that has a weight of 2 represents roughly twice as many CloudFront web
requests as a result that has a weight of 1.
weight - A value that indicates how one result in the response relates proportionally to other results in the
response. A result that has a weight of 2 represents roughly twice as many CloudFront web
requests as a result that has a weight of 1.SampledHTTPRequest.Builder timestamp(Date timestamp)
The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).
timestamp - The time at which AWS WAF received the request from your AWS resource, in Unix time format (in
seconds).SampledHTTPRequest.Builder action(String action)
The action for the Rule that the request matched: ALLOW, BLOCK, or
COUNT.
action - The action for the Rule that the request matched: ALLOW, BLOCK,
or COUNT.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.