@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SystemStatus extends Object implements Serializable, Cloneable
CPU utilization and load average metrics for an Amazon EC2 instance.
Constructor and Description |
---|
SystemStatus() |
Modifier and Type | Method and Description |
---|---|
SystemStatus |
clone() |
boolean |
equals(Object obj) |
CPUUtilization |
getCPUUtilization()
CPU utilization metrics for the instance.
|
List<Double> |
getLoadAverage()
Load average in the last 1-minute, 5-minute, and 15-minute periods.
|
int |
hashCode() |
void |
setCPUUtilization(CPUUtilization cPUUtilization)
CPU utilization metrics for the instance.
|
void |
setLoadAverage(Collection<Double> loadAverage)
Load average in the last 1-minute, 5-minute, and 15-minute periods.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SystemStatus |
withCPUUtilization(CPUUtilization cPUUtilization)
CPU utilization metrics for the instance.
|
SystemStatus |
withLoadAverage(Collection<Double> loadAverage)
Load average in the last 1-minute, 5-minute, and 15-minute periods.
|
SystemStatus |
withLoadAverage(Double... loadAverage)
Load average in the last 1-minute, 5-minute, and 15-minute periods.
|
public void setCPUUtilization(CPUUtilization cPUUtilization)
CPU utilization metrics for the instance.
cPUUtilization
- CPU utilization metrics for the instance.public CPUUtilization getCPUUtilization()
CPU utilization metrics for the instance.
public SystemStatus withCPUUtilization(CPUUtilization cPUUtilization)
CPU utilization metrics for the instance.
cPUUtilization
- CPU utilization metrics for the instance.public List<Double> getLoadAverage()
Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.
public void setLoadAverage(Collection<Double> loadAverage)
Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.
loadAverage
- Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.public SystemStatus withLoadAverage(Double... loadAverage)
Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.
NOTE: This method appends the values to the existing list (if any). Use
setLoadAverage(java.util.Collection)
or withLoadAverage(java.util.Collection)
if you want to
override the existing values.
loadAverage
- Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.public SystemStatus withLoadAverage(Collection<Double> loadAverage)
Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.
loadAverage
- Load average in the last 1-minute, 5-minute, and 15-minute periods. For more information, see Operating System Metrics.public String toString()
toString
in class Object
Object.toString()
public SystemStatus clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.