@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
ApplicationMetrics.Builder |
Modifier and Type | Method and Description |
---|---|
static ApplicationMetrics.Builder |
builder() |
Integer |
duration()
The amount of time that the metrics cover (usually 10 seconds).
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Latency |
latency()
Represents the average latency for the slowest X percent of requests over the last 10 seconds.
|
Integer |
requestCount()
Average number of requests handled by the web server per second over the last 10 seconds.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ApplicationMetrics.Builder> |
serializableBuilderClass() |
StatusCodes |
statusCodes()
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code
response.
|
ApplicationMetrics.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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
).
request_count
) within the most recent time slice of 10 seconds (duration
).public Integer requestCount()
Average number of requests handled by the web server per second over the last 10 seconds.
public StatusCodes statusCodes()
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
public 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.
public ApplicationMetrics.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ApplicationMetrics.Builder,ApplicationMetrics>
public static ApplicationMetrics.Builder builder()
public static Class<? extends ApplicationMetrics.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.