public static interface GetSampledRequestsRequest.Builder extends WAFRequest.Builder, CopyableBuilder<GetSampledRequestsRequest.Builder,GetSampledRequestsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetSampledRequestsRequest.Builder |
maxItems(Long maxItems)
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS
resource received during the time range.
|
GetSampledRequestsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
GetSampledRequestsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
GetSampledRequestsRequest.Builder |
ruleId(String ruleId)
RuleId is one of two values: |
default GetSampledRequestsRequest.Builder |
timeWindow(Consumer<TimeWindow.Builder> timeWindow)
The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. |
GetSampledRequestsRequest.Builder |
timeWindow(TimeWindow timeWindow)
The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. |
GetSampledRequestsRequest.Builder |
webAclId(String webAclId)
The
WebACLId of the WebACL for which you want GetSampledRequests to
return a sample of requests. |
buildrequestOverrideConfigcopyapply, buildGetSampledRequestsRequest.Builder webAclId(String webAclId)
The WebACLId of the WebACL for which you want GetSampledRequests to
return a sample of requests.
webAclId - The WebACLId of the WebACL for which you want
GetSampledRequests to return a sample of requests.GetSampledRequestsRequest.Builder ruleId(String ruleId)
RuleId is one of two values:
The RuleId of the Rule for which you want GetSampledRequests to return
a sample of requests.
Default_Action, which causes GetSampledRequests to return a sample of the requests
that didn't match any of the rules in the specified WebACL.
ruleId - RuleId is one of two values:
The RuleId of the Rule for which you want GetSampledRequests to
return a sample of requests.
Default_Action, which causes GetSampledRequests to return a sample of the
requests that didn't match any of the rules in the specified WebACL.
GetSampledRequestsRequest.Builder timeWindow(TimeWindow timeWindow)
The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. Specify the date and time in the following
format: "2016-09-27T14:50Z". You can specify any time range in the previous three hours.
timeWindow - The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. Specify the date and time in the
following format: "2016-09-27T14:50Z". You can specify any time range in the previous
three hours.default GetSampledRequestsRequest.Builder timeWindow(Consumer<TimeWindow.Builder> timeWindow)
The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. Specify the date and time in the following
format: "2016-09-27T14:50Z". You can specify any time range in the previous three hours.
TimeWindow.Builder avoiding the need to create
one manually via TimeWindow.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to timeWindow(TimeWindow).timeWindow - a consumer that will call methods on TimeWindow.BuildertimeWindow(TimeWindow)GetSampledRequestsRequest.Builder maxItems(Long maxItems)
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS
resource received during the time range. If your resource received fewer requests than the value of
MaxItems, GetSampledRequests returns information about all of them.
maxItems - The number of requests that you want AWS WAF to return from among the first 5,000 requests that your
AWS resource received during the time range. If your resource received fewer requests than the value
of MaxItems, GetSampledRequests returns information about all of them.GetSampledRequestsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.GetSampledRequestsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.