@Generated(value="software.amazon.awssdk:codegen") public final class SamplingStatisticsDocument extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SamplingStatisticsDocument.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
borrowCount()
The number of requests recorded with borrowed reservoir quota.
|
static SamplingStatisticsDocument.Builder |
builder() |
String |
clientID()
A unique identifier for the service in hexadecimal.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
requestCount()
The number of requests that matched the rule.
|
String |
ruleName()
The name of the sampling rule.
|
Integer |
sampledCount()
The number of requests recorded.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SamplingStatisticsDocument.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The current time.
|
SamplingStatisticsDocument.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String ruleName()
The name of the sampling rule.
public final String clientID()
A unique identifier for the service in hexadecimal.
public final Instant timestamp()
The current time.
public final Integer requestCount()
The number of requests that matched the rule.
public final Integer sampledCount()
The number of requests recorded.
public final Integer borrowCount()
The number of requests recorded with borrowed reservoir quota.
public SamplingStatisticsDocument.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>public static SamplingStatisticsDocument.Builder builder()
public static Class<? extends SamplingStatisticsDocument.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.