@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationMetrics extends Object implements Serializable, Cloneable
Application request metrics for an AWS Elastic Beanstalk environment.
Constructor and Description |
---|
ApplicationMetrics() |
Modifier and Type | Method and Description |
---|---|
ApplicationMetrics |
clone() |
boolean |
equals(Object obj) |
Integer |
getDuration()
The amount of time that the metrics cover (usually 10 seconds).
|
Latency |
getLatency()
Represents the average latency for the slowest X percent of requests over the last 10 seconds.
|
Integer |
getRequestCount()
Average number of requests handled by the web server per second over the last 10 seconds.
|
StatusCodes |
getStatusCodes()
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code
response.
|
int |
hashCode() |
void |
setDuration(Integer duration)
The amount of time that the metrics cover (usually 10 seconds).
|
void |
setLatency(Latency latency)
Represents the average latency for the slowest X percent of requests over the last 10 seconds.
|
void |
setRequestCount(Integer requestCount)
Average number of requests handled by the web server per second over the last 10 seconds.
|
void |
setStatusCodes(StatusCodes statusCodes)
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code
response.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ApplicationMetrics |
withDuration(Integer duration)
The amount of time that the metrics cover (usually 10 seconds).
|
ApplicationMetrics |
withLatency(Latency latency)
Represents the average latency for the slowest X percent of requests over the last 10 seconds.
|
ApplicationMetrics |
withRequestCount(Integer requestCount)
Average number of requests handled by the web server per second over the last 10 seconds.
|
ApplicationMetrics |
withStatusCodes(StatusCodes statusCodes)
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code
response.
|
public void setDuration(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
).
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
).public Integer getDuration()
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 ApplicationMetrics withDuration(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
).
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
).public void setRequestCount(Integer requestCount)
Average number of requests handled by the web server per second over the last 10 seconds.
requestCount
- Average number of requests handled by the web server per second over the last 10 seconds.public Integer getRequestCount()
Average number of requests handled by the web server per second over the last 10 seconds.
public ApplicationMetrics withRequestCount(Integer requestCount)
Average number of requests handled by the web server per second over the last 10 seconds.
requestCount
- Average number of requests handled by the web server per second over the last 10 seconds.public void setStatusCodes(StatusCodes statusCodes)
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
statusCodes
- Represents the percentage of requests over the last 10 seconds that resulted in each type of status code
response.public StatusCodes getStatusCodes()
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
public ApplicationMetrics withStatusCodes(StatusCodes statusCodes)
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
statusCodes
- Represents the percentage of requests over the last 10 seconds that resulted in each type of status code
response.public void setLatency(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.
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 Latency getLatency()
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 withLatency(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.
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 String toString()
toString
in class Object
Object.toString()
public ApplicationMetrics clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.