@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) |
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 SamplingStatisticSummary.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The start time of the reporting window.
|
SamplingStatisticSummary.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 Instant timestamp()
The start time of the reporting window.
public final Integer requestCount()
The number of requests that matched the rule.
public final Integer borrowCount()
The number of requests recorded with borrowed reservoir quota.
public final Integer sampledCount()
The number of requests recorded.
public SamplingStatisticSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SamplingStatisticSummary.Builder,SamplingStatisticSummary>public static SamplingStatisticSummary.Builder builder()
public static Class<? extends SamplingStatisticSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.