@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SamplingStatisticSummary extends Object implements Serializable, Cloneable, StructuredPojo
Aggregated request sampling data for a sampling rule across all services for a 10 second window.
Constructor and Description |
---|
SamplingStatisticSummary() |
Modifier and Type | Method and Description |
---|---|
SamplingStatisticSummary |
clone() |
boolean |
equals(Object obj) |
Integer |
getBorrowCount()
The number of requests recorded with borrowed reservoir quota.
|
Integer |
getRequestCount()
The number of requests that matched the rule.
|
String |
getRuleName()
The name of the sampling rule.
|
Integer |
getSampledCount()
The number of requests recorded.
|
Date |
getTimestamp()
The start time of the reporting window.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBorrowCount(Integer borrowCount)
The number of requests recorded with borrowed reservoir quota.
|
void |
setRequestCount(Integer requestCount)
The number of requests that matched the rule.
|
void |
setRuleName(String ruleName)
The name of the sampling rule.
|
void |
setSampledCount(Integer sampledCount)
The number of requests recorded.
|
void |
setTimestamp(Date timestamp)
The start time of the reporting window.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SamplingStatisticSummary |
withBorrowCount(Integer borrowCount)
The number of requests recorded with borrowed reservoir quota.
|
SamplingStatisticSummary |
withRequestCount(Integer requestCount)
The number of requests that matched the rule.
|
SamplingStatisticSummary |
withRuleName(String ruleName)
The name of the sampling rule.
|
SamplingStatisticSummary |
withSampledCount(Integer sampledCount)
The number of requests recorded.
|
SamplingStatisticSummary |
withTimestamp(Date timestamp)
The start time of the reporting window.
|
public void setRuleName(String ruleName)
The name of the sampling rule.
ruleName
- The name of the sampling rule.public String getRuleName()
The name of the sampling rule.
public SamplingStatisticSummary withRuleName(String ruleName)
The name of the sampling rule.
ruleName
- The name of the sampling rule.public void setTimestamp(Date timestamp)
The start time of the reporting window.
timestamp
- The start time of the reporting window.public Date getTimestamp()
The start time of the reporting window.
public SamplingStatisticSummary withTimestamp(Date timestamp)
The start time of the reporting window.
timestamp
- The start time of the reporting window.public void setRequestCount(Integer requestCount)
The number of requests that matched the rule.
requestCount
- The number of requests that matched the rule.public Integer getRequestCount()
The number of requests that matched the rule.
public SamplingStatisticSummary withRequestCount(Integer requestCount)
The number of requests that matched the rule.
requestCount
- The number of requests that matched the rule.public void setBorrowCount(Integer borrowCount)
The number of requests recorded with borrowed reservoir quota.
borrowCount
- The number of requests recorded with borrowed reservoir quota.public Integer getBorrowCount()
The number of requests recorded with borrowed reservoir quota.
public SamplingStatisticSummary withBorrowCount(Integer borrowCount)
The number of requests recorded with borrowed reservoir quota.
borrowCount
- The number of requests recorded with borrowed reservoir quota.public void setSampledCount(Integer sampledCount)
The number of requests recorded.
sampledCount
- The number of requests recorded.public Integer getSampledCount()
The number of requests recorded.
public SamplingStatisticSummary withSampledCount(Integer sampledCount)
The number of requests recorded.
sampledCount
- The number of requests recorded.public String toString()
toString
in class Object
Object.toString()
public SamplingStatisticSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.