Class EdgeStatistics
- java.lang.Object
-
- software.amazon.awssdk.services.xray.model.EdgeStatistics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EdgeStatistics.Builder,EdgeStatistics>
@Generated("software.amazon.awssdk:codegen") public final class EdgeStatistics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EdgeStatistics.Builder,EdgeStatistics>
Response statistics for an edge.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEdgeStatistics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EdgeStatistics.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorStatisticserrorStatistics()Information about requests that failed with a 4xx Client Error status code.FaultStatisticsfaultStatistics()Information about requests that failed with a 5xx Server Error status code.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongokCount()The number of requests that completed with a 2xx Success status code.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EdgeStatistics.Builder>serializableBuilderClass()EdgeStatistics.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalCount()The total number of completed requests.DoubletotalResponseTime()The aggregate response time of completed requests.-
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
-
okCount
public final Long okCount()
The number of requests that completed with a 2xx Success status code.
- Returns:
- The number of requests that completed with a 2xx Success status code.
-
errorStatistics
public final ErrorStatistics errorStatistics()
Information about requests that failed with a 4xx Client Error status code.
- Returns:
- Information about requests that failed with a 4xx Client Error status code.
-
faultStatistics
public final FaultStatistics faultStatistics()
Information about requests that failed with a 5xx Server Error status code.
- Returns:
- Information about requests that failed with a 5xx Server Error status code.
-
totalCount
public final Long totalCount()
The total number of completed requests.
- Returns:
- The total number of completed requests.
-
totalResponseTime
public final Double totalResponseTime()
The aggregate response time of completed requests.
- Returns:
- The aggregate response time of completed requests.
-
toBuilder
public EdgeStatistics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EdgeStatistics.Builder,EdgeStatistics>
-
builder
public static EdgeStatistics.Builder builder()
-
serializableBuilderClass
public static Class<? extends EdgeStatistics.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
-
-