public static interface GetSampledRequestsResponse.Builder extends WafResponse.Builder, CopyableBuilder<GetSampledRequestsResponse.Builder,GetSampledRequestsResponse>
Modifier and Type | Method and Description |
---|---|
GetSampledRequestsResponse.Builder |
populationSize(Long populationSize)
The total number of requests from which
GetSampledRequests got a sample of MaxItems
requests. |
GetSampledRequestsResponse.Builder |
sampledRequests(Collection<SampledHTTPRequest> sampledRequests)
A complex type that contains detailed information about each of the requests in the sample.
|
GetSampledRequestsResponse.Builder |
sampledRequests(Consumer<SampledHTTPRequest.Builder>... sampledRequests)
A complex type that contains detailed information about each of the requests in the sample.
|
GetSampledRequestsResponse.Builder |
sampledRequests(SampledHTTPRequest... sampledRequests)
A complex type that contains detailed information about each of the requests in the sample.
|
default GetSampledRequestsResponse.Builder |
timeWindow(Consumer<TimeWindow.Builder> timeWindow)
Usually,
TimeWindow is the time range that you specified in the GetSampledRequests
request. |
GetSampledRequestsResponse.Builder |
timeWindow(TimeWindow timeWindow)
Usually,
TimeWindow is the time range that you specified in the GetSampledRequests
request. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetSampledRequestsResponse.Builder sampledRequests(Collection<SampledHTTPRequest> sampledRequests)
A complex type that contains detailed information about each of the requests in the sample.
sampledRequests
- A complex type that contains detailed information about each of the requests in the sample.GetSampledRequestsResponse.Builder sampledRequests(SampledHTTPRequest... sampledRequests)
A complex type that contains detailed information about each of the requests in the sample.
sampledRequests
- A complex type that contains detailed information about each of the requests in the sample.GetSampledRequestsResponse.Builder sampledRequests(Consumer<SampledHTTPRequest.Builder>... sampledRequests)
A complex type that contains detailed information about each of the requests in the sample.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #sampledRequests(List)
.sampledRequests
- a consumer that will call methods on List.Builder
#sampledRequests(List)
GetSampledRequestsResponse.Builder populationSize(Long populationSize)
The total number of requests from which GetSampledRequests
got a sample of MaxItems
requests. If PopulationSize
is less than MaxItems
, the sample includes every
request that your AWS resource received during the specified time range.
populationSize
- The total number of requests from which GetSampledRequests
got a sample of
MaxItems
requests. If PopulationSize
is less than MaxItems
, the
sample includes every request that your AWS resource received during the specified time range.GetSampledRequestsResponse.Builder timeWindow(TimeWindow timeWindow)
Usually, TimeWindow
is the time range that you specified in the GetSampledRequests
request. However, if your AWS resource received more than 5,000 requests during the time range that you
specified in the request, GetSampledRequests
returns the time range for the first 5,000
requests.
timeWindow
- Usually, TimeWindow
is the time range that you specified in the
GetSampledRequests
request. However, if your AWS resource received more than 5,000
requests during the time range that you specified in the request, GetSampledRequests
returns the time range for the first 5,000 requests.default GetSampledRequestsResponse.Builder timeWindow(Consumer<TimeWindow.Builder> timeWindow)
Usually, TimeWindow
is the time range that you specified in the GetSampledRequests
request. However, if your AWS resource received more than 5,000 requests during the time range that you
specified in the request, GetSampledRequests
returns the time range for the first 5,000
requests.
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.Builder
timeWindow(TimeWindow)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.