public class CPUUtilization
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents CPU utilization information from the specified instance that
belongs to the AWS Elastic Beanstalk environment. Use the
instanceId
property to specify the application instance for
which you'd like to return data.
Modifier and Type | Field and Description |
---|---|
private java.lang.Double |
idle
Percentage of time that the CPU has spent in the
Idle state
over the last 10 seconds. |
private java.lang.Double |
iOWait
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds. |
private java.lang.Double |
iRQ
Percentage of time that the CPU has spent in the
IRQ state
over the last 10 seconds. |
private java.lang.Double |
nice
Percentage of time that the CPU has spent in the
Nice state
over the last 10 seconds. |
private java.lang.Double |
softIRQ
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds. |
private java.lang.Double |
system
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds. |
private java.lang.Double |
user
Percentage of time that the CPU has spent in the
User state
over the last 10 seconds. |
Constructor and Description |
---|
CPUUtilization() |
Modifier and Type | Method and Description |
---|---|
CPUUtilization |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getIdle()
Percentage of time that the CPU has spent in the
Idle state
over the last 10 seconds. |
java.lang.Double |
getIOWait()
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds. |
java.lang.Double |
getIRQ()
Percentage of time that the CPU has spent in the
IRQ state
over the last 10 seconds. |
java.lang.Double |
getNice()
Percentage of time that the CPU has spent in the
Nice state
over the last 10 seconds. |
java.lang.Double |
getSoftIRQ()
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds. |
java.lang.Double |
getSystem()
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds. |
java.lang.Double |
getUser()
Percentage of time that the CPU has spent in the
User state
over the last 10 seconds. |
int |
hashCode() |
void |
setIdle(java.lang.Double idle)
Percentage of time that the CPU has spent in the
Idle state
over the last 10 seconds. |
void |
setIOWait(java.lang.Double iOWait)
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds. |
void |
setIRQ(java.lang.Double iRQ)
Percentage of time that the CPU has spent in the
IRQ state
over the last 10 seconds. |
void |
setNice(java.lang.Double nice)
Percentage of time that the CPU has spent in the
Nice state
over the last 10 seconds. |
void |
setSoftIRQ(java.lang.Double softIRQ)
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds. |
void |
setSystem(java.lang.Double system)
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds. |
void |
setUser(java.lang.Double user)
Percentage of time that the CPU has spent in the
User state
over the last 10 seconds. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CPUUtilization |
withIdle(java.lang.Double idle)
Percentage of time that the CPU has spent in the
Idle state
over the last 10 seconds. |
CPUUtilization |
withIOWait(java.lang.Double iOWait)
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds. |
CPUUtilization |
withIRQ(java.lang.Double iRQ)
Percentage of time that the CPU has spent in the
IRQ state
over the last 10 seconds. |
CPUUtilization |
withNice(java.lang.Double nice)
Percentage of time that the CPU has spent in the
Nice state
over the last 10 seconds. |
CPUUtilization |
withSoftIRQ(java.lang.Double softIRQ)
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds. |
CPUUtilization |
withSystem(java.lang.Double system)
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds. |
CPUUtilization |
withUser(java.lang.Double user)
Percentage of time that the CPU has spent in the
User state
over the last 10 seconds. |
private java.lang.Double user
Percentage of time that the CPU has spent in the User
state
over the last 10 seconds.
private java.lang.Double nice
Percentage of time that the CPU has spent in the Nice
state
over the last 10 seconds.
private java.lang.Double system
Percentage of time that the CPU has spent in the System
state over the last 10 seconds.
private java.lang.Double idle
Percentage of time that the CPU has spent in the Idle
state
over the last 10 seconds.
private java.lang.Double iOWait
Percentage of time that the CPU has spent in the I/O Wait
state over the last 10 seconds.
private java.lang.Double iRQ
Percentage of time that the CPU has spent in the IRQ
state
over the last 10 seconds.
private java.lang.Double softIRQ
Percentage of time that the CPU has spent in the SoftIRQ
state over the last 10 seconds.
public void setUser(java.lang.Double user)
Percentage of time that the CPU has spent in the User
state
over the last 10 seconds.
user
- Percentage of time that the CPU has spent in the User
state over the last 10 seconds.public java.lang.Double getUser()
Percentage of time that the CPU has spent in the User
state
over the last 10 seconds.
User
state over the last 10 seconds.public CPUUtilization withUser(java.lang.Double user)
Percentage of time that the CPU has spent in the User
state
over the last 10 seconds.
user
- Percentage of time that the CPU has spent in the User
state over the last 10 seconds.public void setNice(java.lang.Double nice)
Percentage of time that the CPU has spent in the Nice
state
over the last 10 seconds.
nice
- Percentage of time that the CPU has spent in the Nice
state over the last 10 seconds.public java.lang.Double getNice()
Percentage of time that the CPU has spent in the Nice
state
over the last 10 seconds.
Nice
state over the last 10 seconds.public CPUUtilization withNice(java.lang.Double nice)
Percentage of time that the CPU has spent in the Nice
state
over the last 10 seconds.
nice
- Percentage of time that the CPU has spent in the Nice
state over the last 10 seconds.public void setSystem(java.lang.Double system)
Percentage of time that the CPU has spent in the System
state over the last 10 seconds.
system
- Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.public java.lang.Double getSystem()
Percentage of time that the CPU has spent in the System
state over the last 10 seconds.
System
state over the last 10 seconds.public CPUUtilization withSystem(java.lang.Double system)
Percentage of time that the CPU has spent in the System
state over the last 10 seconds.
system
- Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.public void setIdle(java.lang.Double idle)
Percentage of time that the CPU has spent in the Idle
state
over the last 10 seconds.
idle
- Percentage of time that the CPU has spent in the Idle
state over the last 10 seconds.public java.lang.Double getIdle()
Percentage of time that the CPU has spent in the Idle
state
over the last 10 seconds.
Idle
state over the last 10 seconds.public CPUUtilization withIdle(java.lang.Double idle)
Percentage of time that the CPU has spent in the Idle
state
over the last 10 seconds.
idle
- Percentage of time that the CPU has spent in the Idle
state over the last 10 seconds.public void setIOWait(java.lang.Double iOWait)
Percentage of time that the CPU has spent in the I/O Wait
state over the last 10 seconds.
iOWait
- Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.public java.lang.Double getIOWait()
Percentage of time that the CPU has spent in the I/O Wait
state over the last 10 seconds.
I/O Wait
state over the last 10 seconds.public CPUUtilization withIOWait(java.lang.Double iOWait)
Percentage of time that the CPU has spent in the I/O Wait
state over the last 10 seconds.
iOWait
- Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.public void setIRQ(java.lang.Double iRQ)
Percentage of time that the CPU has spent in the IRQ
state
over the last 10 seconds.
iRQ
- Percentage of time that the CPU has spent in the IRQ
state over the last 10 seconds.public java.lang.Double getIRQ()
Percentage of time that the CPU has spent in the IRQ
state
over the last 10 seconds.
IRQ
state over the last 10 seconds.public CPUUtilization withIRQ(java.lang.Double iRQ)
Percentage of time that the CPU has spent in the IRQ
state
over the last 10 seconds.
iRQ
- Percentage of time that the CPU has spent in the IRQ
state over the last 10 seconds.public void setSoftIRQ(java.lang.Double softIRQ)
Percentage of time that the CPU has spent in the SoftIRQ
state over the last 10 seconds.
softIRQ
- Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.public java.lang.Double getSoftIRQ()
Percentage of time that the CPU has spent in the SoftIRQ
state over the last 10 seconds.
SoftIRQ
state over the last 10 seconds.public CPUUtilization withSoftIRQ(java.lang.Double softIRQ)
Percentage of time that the CPU has spent in the SoftIRQ
state over the last 10 seconds.
softIRQ
- Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CPUUtilization clone()
clone
in class java.lang.Object