public class CPUUtilization extends Object implements Serializable, 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.
Constructor and Description |
---|
CPUUtilization() |
Modifier and Type | Method and Description |
---|---|
CPUUtilization |
clone() |
boolean |
equals(Object obj) |
Double |
getIdle()
Percentage of time that the CPU has spent in the
Idle state
over the last 10 seconds. |
Double |
getIOWait()
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds. |
Double |
getIRQ()
Percentage of time that the CPU has spent in the
IRQ state
over the last 10 seconds. |
Double |
getNice()
Percentage of time that the CPU has spent in the
Nice state
over the last 10 seconds. |
Double |
getSoftIRQ()
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds. |
Double |
getSystem()
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds. |
Double |
getUser()
Percentage of time that the CPU has spent in the
User state
over the last 10 seconds. |
int |
hashCode() |
void |
setIdle(Double idle)
Percentage of time that the CPU has spent in the
Idle state
over the last 10 seconds. |
void |
setIOWait(Double iOWait)
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds. |
void |
setIRQ(Double iRQ)
Percentage of time that the CPU has spent in the
IRQ state
over the last 10 seconds. |
void |
setNice(Double nice)
Percentage of time that the CPU has spent in the
Nice state
over the last 10 seconds. |
void |
setSoftIRQ(Double softIRQ)
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds. |
void |
setSystem(Double system)
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds. |
void |
setUser(Double user)
Percentage of time that the CPU has spent in the
User state
over the last 10 seconds. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CPUUtilization |
withIdle(Double idle)
Percentage of time that the CPU has spent in the
Idle state
over the last 10 seconds. |
CPUUtilization |
withIOWait(Double iOWait)
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds. |
CPUUtilization |
withIRQ(Double iRQ)
Percentage of time that the CPU has spent in the
IRQ state
over the last 10 seconds. |
CPUUtilization |
withNice(Double nice)
Percentage of time that the CPU has spent in the
Nice state
over the last 10 seconds. |
CPUUtilization |
withSoftIRQ(Double softIRQ)
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds. |
CPUUtilization |
withSystem(Double system)
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds. |
CPUUtilization |
withUser(Double user)
Percentage of time that the CPU has spent in the
User state
over the last 10 seconds. |
public void setUser(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 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(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(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 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(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(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 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(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(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 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(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(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 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(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(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public CPUUtilization clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.