@Generated(value="software.amazon.awssdk:codegen") public final class SamplingStatisticSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SamplingStatisticSummary.Builder,SamplingStatisticSummary>
Aggregated request sampling data for a sampling rule across all services for a 10 second window.
Modifier and Type | Class and Description |
---|---|
static interface |
SamplingStatisticSummary.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
borrowCount()
The number of requests recorded with borrowed reservoir quota.
|
static SamplingStatisticSummary.Builder |
builder() |
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 SamplingStatisticSummary.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The start time of the reporting window.
|
SamplingStatisticSummary.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 Instant timestamp()
The start time of the reporting window.
public Integer requestCount()
The number of requests that matched the rule.
public Integer borrowCount()
The number of requests recorded with borrowed reservoir quota.
public Integer sampledCount()
The number of requests recorded.
public SamplingStatisticSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SamplingStatisticSummary.Builder,SamplingStatisticSummary>
public static SamplingStatisticSummary.Builder builder()
public static Class<? extends SamplingStatisticSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.