public class GetSampledRequestsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
populationSize
The total number of requests from which
GetSampledRequests
got a sample of MaxItems requests. |
private java.util.List<SampledHTTPRequest> |
sampledRequests
A complex type that contains detailed information about each of the
requests in the sample.
|
private TimeWindow |
timeWindow
Usually,
TimeWindow is the time range that you specified in
the GetSampledRequests request. |
Constructor and Description |
---|
GetSampledRequestsResult() |
Modifier and Type | Method and Description |
---|---|
GetSampledRequestsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getPopulationSize()
The total number of requests from which
GetSampledRequests
got a sample of MaxItems requests. |
java.util.List<SampledHTTPRequest> |
getSampledRequests()
A complex type that contains detailed information about each of the
requests in the sample.
|
TimeWindow |
getTimeWindow()
Usually,
TimeWindow is the time range that you specified in
the GetSampledRequests request. |
int |
hashCode() |
void |
setPopulationSize(java.lang.Long populationSize)
The total number of requests from which
GetSampledRequests
got a sample of MaxItems requests. |
void |
setSampledRequests(java.util.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
the GetSampledRequests request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetSampledRequestsResult |
withPopulationSize(java.lang.Long populationSize)
The total number of requests from which
GetSampledRequests
got a sample of MaxItems requests. |
GetSampledRequestsResult |
withSampledRequests(java.util.Collection<SampledHTTPRequest> sampledRequests)
A complex type that contains detailed information about each of the
requests in the sample.
|
GetSampledRequestsResult |
withSampledRequests(SampledHTTPRequest... sampledRequests)
A complex type that contains detailed information about each of the
requests in the sample.
|
GetSampledRequestsResult |
withTimeWindow(TimeWindow timeWindow)
Usually,
TimeWindow is the time range that you specified in
the GetSampledRequests request. |
private java.util.List<SampledHTTPRequest> sampledRequests
A complex type that contains detailed information about each of the requests in the sample.
private java.lang.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.
private 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.
public java.util.List<SampledHTTPRequest> getSampledRequests()
A complex type that contains detailed information about each of the requests in the sample.
public void setSampledRequests(java.util.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.public GetSampledRequestsResult withSampledRequests(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.public GetSampledRequestsResult withSampledRequests(java.util.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.public void setPopulationSize(java.lang.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.public java.lang.Long getPopulationSize()
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.
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.public GetSampledRequestsResult withPopulationSize(java.lang.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.public void setTimeWindow(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.public TimeWindow getTimeWindow()
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
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.public GetSampledRequestsResult withTimeWindow(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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetSampledRequestsResult clone()
clone
in class java.lang.Object