@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String ruleName()
The name of the sampling rule.
public String clientID()
A unique identifier for the service in hexadecimal.
public Instant timestamp()
The current time.
public Integer requestCount()
The number of requests that matched the rule.
public Integer sampledCount()
The number of requests recorded.
public Integer borrowCount()
The number of requests recorded with borrowed reservoir quota.
public SamplingStatisticsDocument.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SamplingStatisticsDocument.Builder,SamplingStatisticsDocument>
public static SamplingStatisticsDocument.Builder builder()
public static Class<? extends SamplingStatisticsDocument.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.