Class GetSampledRequestsResult
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe total number of requests from whichGetSampledRequestsgot a sample ofMaxItemsrequests.A complex type that contains detailed information about each of the requests in the sample.Usually,TimeWindowis the time range that you specified in theGetSampledRequestsrequest.inthashCode()voidsetPopulationSize(Long populationSize) The total number of requests from whichGetSampledRequestsgot a sample ofMaxItemsrequests.voidsetSampledRequests(Collection<SampledHTTPRequest> sampledRequests) A complex type that contains detailed information about each of the requests in the sample.voidsetTimeWindow(TimeWindow timeWindow) Usually,TimeWindowis the time range that you specified in theGetSampledRequestsrequest.toString()Returns a string representation of this object; useful for testing and debugging.withPopulationSize(Long populationSize) The total number of requests from whichGetSampledRequestsgot a sample ofMaxItemsrequests.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,TimeWindowis the time range that you specified in theGetSampledRequestsrequest.
-
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
GetSampledRequestsgot a sample ofMaxItemsrequests. IfPopulationSizeis 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 whichGetSampledRequestsgot a sample ofMaxItemsrequests. IfPopulationSizeis 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
GetSampledRequestsgot a sample ofMaxItemsrequests. IfPopulationSizeis 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
GetSampledRequestsgot a sample ofMaxItemsrequests. IfPopulationSizeis 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
GetSampledRequestsgot a sample ofMaxItemsrequests. IfPopulationSizeis 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 whichGetSampledRequestsgot a sample ofMaxItemsrequests. IfPopulationSizeis 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,
TimeWindowis the time range that you specified in theGetSampledRequestsrequest. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request,GetSampledRequestsreturns the time range for the first 5,000 requests.- Parameters:
timeWindow- Usually,TimeWindowis the time range that you specified in theGetSampledRequestsrequest. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request,GetSampledRequestsreturns the time range for the first 5,000 requests.
-
getTimeWindow
Usually,
TimeWindowis the time range that you specified in theGetSampledRequestsrequest. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request,GetSampledRequestsreturns the time range for the first 5,000 requests.- Returns:
- Usually,
TimeWindowis the time range that you specified in theGetSampledRequestsrequest. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request,GetSampledRequestsreturns the time range for the first 5,000 requests.
-
withTimeWindow
Usually,
TimeWindowis the time range that you specified in theGetSampledRequestsrequest. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request,GetSampledRequestsreturns the time range for the first 5,000 requests.- Parameters:
timeWindow- Usually,TimeWindowis the time range that you specified in theGetSampledRequestsrequest. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request,GetSampledRequestsreturns 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
-