public static interface GetSampledRequestsResponse.Builder extends Wafv2Response.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSampledRequestsResponse.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 method that creates an instance of theSampledHTTPRequest.Builder avoiding the need to create
one manually via SampledHTTPRequest.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #sampledRequests(List.
sampledRequests - a consumer that will call methods on
SampledHTTPRequest.Builder#sampledRequests(java.util.Collection) 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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. Times are in Coordinated Universal Time (UTC) format.
timeWindow - Usually, TimeWindow is the time range that you specified in the
GetSampledRequests request. However, if your Amazon Web Services 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. Times are in
Coordinated Universal Time (UTC) format.default GetSampledRequestsResponse.Builder timeWindow(Consumer<TimeWindow.Builder> timeWindow)
Usually, TimeWindow is the time range that you specified in the GetSampledRequests
request. However, if your Amazon Web Services 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. Times are in Coordinated Universal Time (UTC) format.
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)Copyright © 2023. All rights reserved.