public static interface SampledHTTPRequest.Builder extends SdkPojo, CopyableBuilder<SampledHTTPRequest.Builder,SampledHTTPRequest>
Modifier and Type | Method and Description |
---|---|
SampledHTTPRequest.Builder |
action(String action)
The action for the
Rule that the request matched: ALLOW , BLOCK , or
COUNT . |
default SampledHTTPRequest.Builder |
request(Consumer<HTTPRequest.Builder> request)
A complex type that contains detailed information about the request.
|
SampledHTTPRequest.Builder |
request(HTTPRequest request)
A complex type that contains detailed information about the request.
|
SampledHTTPRequest.Builder |
ruleWithinRuleGroup(String ruleWithinRuleGroup)
This value is returned if the
GetSampledRequests request specifies the ID of a
RuleGroup rather than the ID of an individual rule. |
SampledHTTPRequest.Builder |
timestamp(Instant 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.
|
copy
applyMutation, build
SampledHTTPRequest.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.default SampledHTTPRequest.Builder request(Consumer<HTTPRequest.Builder> request)
A complex type that contains detailed information about the request.
This is a convenience that creates an instance of theHTTPRequest.Builder
avoiding the need to create
one manually via HTTPRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to request(HTTPRequest)
.request
- a consumer that will call methods on HTTPRequest.Builder
request(HTTPRequest)
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(Instant 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
.SampledHTTPRequest.Builder ruleWithinRuleGroup(String ruleWithinRuleGroup)
This value is returned if the GetSampledRequests
request specifies the ID of a
RuleGroup
rather than the ID of an individual rule. RuleWithinRuleGroup
is the rule
within the specified RuleGroup
that matched the request listed in the response.
ruleWithinRuleGroup
- This value is returned if the GetSampledRequests
request specifies the ID of a
RuleGroup
rather than the ID of an individual rule. RuleWithinRuleGroup
is
the rule within the specified RuleGroup
that matched the request listed in the response.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.