@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SamplingStatisticsDocument extends Object implements Serializable, Cloneable, StructuredPojo
Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.
Constructor and Description |
---|
SamplingStatisticsDocument() |
Modifier and Type | Method and Description |
---|---|
SamplingStatisticsDocument |
clone() |
boolean |
equals(Object obj) |
Integer |
getBorrowCount()
The number of requests recorded with borrowed reservoir quota.
|
String |
getClientID()
A unique identifier for the service in hexadecimal.
|
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 current time.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBorrowCount(Integer borrowCount)
The number of requests recorded with borrowed reservoir quota.
|
void |
setClientID(String clientID)
A unique identifier for the service in hexadecimal.
|
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 current time.
|
String |
toString()
Returns a string representation of this object.
|
SamplingStatisticsDocument |
withBorrowCount(Integer borrowCount)
The number of requests recorded with borrowed reservoir quota.
|
SamplingStatisticsDocument |
withClientID(String clientID)
A unique identifier for the service in hexadecimal.
|
SamplingStatisticsDocument |
withRequestCount(Integer requestCount)
The number of requests that matched the rule.
|
SamplingStatisticsDocument |
withRuleName(String ruleName)
The name of the sampling rule.
|
SamplingStatisticsDocument |
withSampledCount(Integer sampledCount)
The number of requests recorded.
|
SamplingStatisticsDocument |
withTimestamp(Date timestamp)
The current time.
|
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 SamplingStatisticsDocument withRuleName(String ruleName)
The name of the sampling rule.
ruleName
- The name of the sampling rule.public void setClientID(String clientID)
A unique identifier for the service in hexadecimal.
clientID
- A unique identifier for the service in hexadecimal.public String getClientID()
A unique identifier for the service in hexadecimal.
public SamplingStatisticsDocument withClientID(String clientID)
A unique identifier for the service in hexadecimal.
clientID
- A unique identifier for the service in hexadecimal.public void setTimestamp(Date timestamp)
The current time.
timestamp
- The current time.public Date getTimestamp()
The current time.
public SamplingStatisticsDocument withTimestamp(Date timestamp)
The current time.
timestamp
- The current time.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 SamplingStatisticsDocument withRequestCount(Integer requestCount)
The number of requests that matched the rule.
requestCount
- The number of requests that matched the rule.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 SamplingStatisticsDocument withSampledCount(Integer sampledCount)
The number of requests recorded.
sampledCount
- The number of requests recorded.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 SamplingStatisticsDocument withBorrowCount(Integer borrowCount)
The number of requests recorded with borrowed reservoir quota.
borrowCount
- The number of requests recorded with borrowed reservoir quota.public String toString()
toString
in class Object
Object.toString()
public SamplingStatisticsDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.