Class SamplingStatisticSummary
- java.lang.Object
-
- software.amazon.awssdk.services.xray.model.SamplingStatisticSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SamplingStatisticSummary.Builder,SamplingStatisticSummary>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSamplingStatisticSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerborrowCount()The number of requests recorded with borrowed reservoir quota.static SamplingStatisticSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerrequestCount()The number of requests that matched the rule.StringruleName()The name of the sampling rule.IntegersampledCount()The number of requests recorded.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SamplingStatisticSummary.Builder>serializableBuilderClass()Instanttimestamp()The start time of the reporting window.SamplingStatisticSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ruleName
public final String ruleName()
The name of the sampling rule.
- Returns:
- The name of the sampling rule.
-
timestamp
public final Instant timestamp()
The start time of the reporting window.
- Returns:
- The start time of the reporting window.
-
requestCount
public final Integer requestCount()
The number of requests that matched the rule.
- Returns:
- The number of requests that matched the rule.
-
borrowCount
public final Integer borrowCount()
The number of requests recorded with borrowed reservoir quota.
- Returns:
- The number of requests recorded with borrowed reservoir quota.
-
sampledCount
public final Integer sampledCount()
The number of requests recorded.
- Returns:
- The number of requests recorded.
-
toBuilder
public SamplingStatisticSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SamplingStatisticSummary.Builder,SamplingStatisticSummary>
-
builder
public static SamplingStatisticSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends SamplingStatisticSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-