Class ApplicationMetrics
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.ApplicationMetrics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApplicationMetrics.Builder,ApplicationMetrics>
@Generated("software.amazon.awssdk:codegen") public final class ApplicationMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationMetrics.Builder,ApplicationMetrics>
Application request metrics for an AWS Elastic Beanstalk environment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApplicationMetrics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationMetrics.Builderbuilder()Integerduration()The amount of time that the metrics cover (usually 10 seconds).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Latencylatency()Represents the average latency for the slowest X percent of requests over the last 10 seconds.IntegerrequestCount()Average number of requests handled by the web server per second over the last 10 seconds.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ApplicationMetrics.Builder>serializableBuilderClass()StatusCodesstatusCodes()Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.ApplicationMetrics.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
-
duration
public final Integer duration()
The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (
request_count) within the most recent time slice of 10 seconds (duration).- Returns:
- The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (
request_count) within the most recent time slice of 10 seconds (duration).
-
requestCount
public final Integer requestCount()
Average number of requests handled by the web server per second over the last 10 seconds.
- Returns:
- Average number of requests handled by the web server per second over the last 10 seconds.
-
statusCodes
public final StatusCodes statusCodes()
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
- Returns:
- Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
-
latency
public final Latency latency()
Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one millisecond resolution.
- Returns:
- Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one millisecond resolution.
-
toBuilder
public ApplicationMetrics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplicationMetrics.Builder,ApplicationMetrics>
-
builder
public static ApplicationMetrics.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationMetrics.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
-
-