CopyableBuilder<GetSampledRequestsResponse.Builder,GetSampledRequestsResponse>
, SdkBuilder<GetSampledRequestsResponse.Builder,GetSampledRequestsResponse>
public static interface GetSampledRequestsResponse.Builder extends CopyableBuilder<GetSampledRequestsResponse.Builder,GetSampledRequestsResponse>
Modifier and Type | Method | 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(SampledHTTPRequest... sampledRequests) |
A complex type that contains detailed information about each of the requests in the sample.
|
GetSampledRequestsResponse.Builder |
timeWindow(TimeWindow timeWindow) |
Usually,
TimeWindow is the time range that you specified in the GetSampledRequests
request. |
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setSampledRequests(java.util.Collection)
or #withSampledRequests(java.util.Collection)
if
you want to override the existing values.
sampledRequests
- A complex type that contains detailed information about each of the requests in the sample.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.