Class GetSampledRequestsResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The total number of requests from whichGetSampledRequests
got a sample ofMaxItems
requests.A complex type that contains detailed information about each of the requests in the sample.Usually,TimeWindow
is the time range that you specified in theGetSampledRequests
request.int
hashCode()
void
setPopulationSize
(Long populationSize) The total number of requests from whichGetSampledRequests
got a sample ofMaxItems
requests.void
setSampledRequests
(Collection<SampledHTTPRequest> sampledRequests) A complex type that contains detailed information about each of the requests in the sample.void
setTimeWindow
(TimeWindow timeWindow) Usually,TimeWindow
is the time range that you specified in theGetSampledRequests
request.toString()
Returns a string representation of this object; useful for testing and debugging.withPopulationSize
(Long populationSize) The total number of requests from whichGetSampledRequests
got a sample ofMaxItems
requests.withSampledRequests
(SampledHTTPRequest... sampledRequests) A complex type that contains detailed information about each of the requests in the sample.withSampledRequests
(Collection<SampledHTTPRequest> sampledRequests) A complex type that contains detailed information about each of the requests in the sample.withTimeWindow
(TimeWindow timeWindow) Usually,TimeWindow
is the time range that you specified in theGetSampledRequests
request.
-
Constructor Details
-
GetSampledRequestsResult
public GetSampledRequestsResult()
-
-
Method Details
-
getSampledRequests
A complex type that contains detailed information about each of the requests in the sample.
- Returns:
- A complex type that contains detailed information about each of the requests in the sample.
-
setSampledRequests
A complex type that contains detailed information about each of the requests in the sample.
- Parameters:
sampledRequests
- A complex type that contains detailed information about each of the requests in the sample.
-
withSampledRequests
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)
orwithSampledRequests(java.util.Collection)
if you want to override the existing values.- Parameters:
sampledRequests
- A complex type that contains detailed information about each of the requests in the sample.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSampledRequests
A complex type that contains detailed information about each of the requests in the sample.
- Parameters:
sampledRequests
- A complex type that contains detailed information about each of the requests in the sample.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPopulationSize
The total number of requests from which
GetSampledRequests
got a sample ofMaxItems
requests. IfPopulationSize
is less thanMaxItems
, the sample includes every request that your AWS resource received during the specified time range.- Parameters:
populationSize
- The total number of requests from whichGetSampledRequests
got a sample ofMaxItems
requests. IfPopulationSize
is less thanMaxItems
, the sample includes every request that your AWS resource received during the specified time range.
-
getPopulationSize
The total number of requests from which
GetSampledRequests
got a sample ofMaxItems
requests. IfPopulationSize
is less thanMaxItems
, the sample includes every request that your AWS resource received during the specified time range.- Returns:
- The total number of requests from which
GetSampledRequests
got a sample ofMaxItems
requests. IfPopulationSize
is less thanMaxItems
, the sample includes every request that your AWS resource received during the specified time range.
-
withPopulationSize
The total number of requests from which
GetSampledRequests
got a sample ofMaxItems
requests. IfPopulationSize
is less thanMaxItems
, the sample includes every request that your AWS resource received during the specified time range.- Parameters:
populationSize
- The total number of requests from whichGetSampledRequests
got a sample ofMaxItems
requests. IfPopulationSize
is less thanMaxItems
, the sample includes every request that your AWS resource received during the specified time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeWindow
Usually,
TimeWindow
is the time range that you specified in theGetSampledRequests
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.- Parameters:
timeWindow
- Usually,TimeWindow
is the time range that you specified in theGetSampledRequests
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.
-
getTimeWindow
Usually,
TimeWindow
is the time range that you specified in theGetSampledRequests
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.- Returns:
- Usually,
TimeWindow
is the time range that you specified in theGetSampledRequests
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.
-
withTimeWindow
Usually,
TimeWindow
is the time range that you specified in theGetSampledRequests
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.- Parameters:
timeWindow
- Usually,TimeWindow
is the time range that you specified in theGetSampledRequests
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-