Class SystemStatus
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.SystemStatus
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SystemStatus extends Object implements Serializable, Cloneable
Represents CPU utilization and load average information for applications running in the specified environment.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SystemStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemStatus
clone()
boolean
equals(Object obj)
CPUUtilization
getCPUUtilization()
List<Double>
getLoadAverage()
Load average in the last 1-minute and 5-minute periods.int
hashCode()
void
setCPUUtilization(CPUUtilization cPUUtilization)
void
setLoadAverage(Collection<Double> loadAverage)
Load average in the last 1-minute and 5-minute periods.String
toString()
Returns a string representation of this object; useful for testing and debugging.SystemStatus
withCPUUtilization(CPUUtilization cPUUtilization)
SystemStatus
withLoadAverage(Double... loadAverage)
Load average in the last 1-minute and 5-minute periods.SystemStatus
withLoadAverage(Collection<Double> loadAverage)
Load average in the last 1-minute and 5-minute periods.
-
-
-
Method Detail
-
setCPUUtilization
public void setCPUUtilization(CPUUtilization cPUUtilization)
- Parameters:
cPUUtilization
-
-
getCPUUtilization
public CPUUtilization getCPUUtilization()
- Returns:
-
withCPUUtilization
public SystemStatus withCPUUtilization(CPUUtilization cPUUtilization)
- Parameters:
cPUUtilization
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLoadAverage
public List<Double> getLoadAverage()
Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
- Returns:
- Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
-
setLoadAverage
public void setLoadAverage(Collection<Double> loadAverage)
Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
- Parameters:
loadAverage
- Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
-
withLoadAverage
public SystemStatus withLoadAverage(Double... loadAverage)
Load average in the last 1-minute and 5-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)
orwithLoadAverage(java.util.Collection)
if you want to override the existing values.- Parameters:
loadAverage
- Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLoadAverage
public SystemStatus withLoadAverage(Collection<Double> loadAverage)
Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
- Parameters:
loadAverage
- Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SystemStatus clone()
-
-