@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CPUUtilization extends Object implements Serializable, Cloneable
CPU utilization metrics for an instance.
| 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()
Available on Linux environments only.
|
Double |
getIRQ()
Available on Linux environments only.
|
Double |
getNice()
Available on Linux environments only.
|
Double |
getPrivileged()
Available on Windows environments only.
|
Double |
getSoftIRQ()
Available on Linux environments only.
|
Double |
getSystem()
Available on Linux environments only.
|
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)
Available on Linux environments only.
|
void |
setIRQ(Double iRQ)
Available on Linux environments only.
|
void |
setNice(Double nice)
Available on Linux environments only.
|
void |
setPrivileged(Double privileged)
Available on Windows environments only.
|
void |
setSoftIRQ(Double softIRQ)
Available on Linux environments only.
|
void |
setSystem(Double system)
Available on Linux environments only.
|
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.
|
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)
Available on Linux environments only.
|
CPUUtilization |
withIRQ(Double iRQ)
Available on Linux environments only.
|
CPUUtilization |
withNice(Double nice)
Available on Linux environments only.
|
CPUUtilization |
withPrivileged(Double privileged)
Available on Windows environments only.
|
CPUUtilization |
withSoftIRQ(Double softIRQ)
Available on Linux environments only.
|
CPUUtilization |
withSystem(Double system)
Available on Linux environments only.
|
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)
Available on Linux environments only.
Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.
nice - Available on Linux environments only.
Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.
public Double getNice()
Available on Linux environments only.
Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.
Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.
public CPUUtilization withNice(Double nice)
Available on Linux environments only.
Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.
nice - Available on Linux environments only.
Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.
public void setSystem(Double system)
Available on Linux environments only.
Percentage of time that the CPU has spent in the System state over the last 10 seconds.
system - Available on Linux environments only.
Percentage of time that the CPU has spent in the System state over the last 10 seconds.
public Double getSystem()
Available on Linux environments only.
Percentage of time that the CPU has spent in the System state over the last 10 seconds.
Percentage of time that the CPU has spent in the System state over the last 10 seconds.
public CPUUtilization withSystem(Double system)
Available on Linux environments only.
Percentage of time that the CPU has spent in the System state over the last 10 seconds.
system - Available on Linux environments only.
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)
Available on Linux environments only.
Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.
iOWait - Available on Linux environments only.
Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.
public Double getIOWait()
Available on Linux environments only.
Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.
Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.
public CPUUtilization withIOWait(Double iOWait)
Available on Linux environments only.
Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.
iOWait - Available on Linux environments only.
Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.
public void setIRQ(Double iRQ)
Available on Linux environments only.
Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.
iRQ - Available on Linux environments only.
Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.
public Double getIRQ()
Available on Linux environments only.
Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.
Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.
public CPUUtilization withIRQ(Double iRQ)
Available on Linux environments only.
Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.
iRQ - Available on Linux environments only.
Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.
public void setSoftIRQ(Double softIRQ)
Available on Linux environments only.
Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.
softIRQ - Available on Linux environments only.
Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.
public Double getSoftIRQ()
Available on Linux environments only.
Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.
Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.
public CPUUtilization withSoftIRQ(Double softIRQ)
Available on Linux environments only.
Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.
softIRQ - Available on Linux environments only.
Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.
public void setPrivileged(Double privileged)
Available on Windows environments only.
Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.
privileged - Available on Windows environments only.
Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.
public Double getPrivileged()
Available on Windows environments only.
Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.
Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.
public CPUUtilization withPrivileged(Double privileged)
Available on Windows environments only.
Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.
privileged - Available on Windows environments only.
Percentage of time that the CPU has spent in the Privileged state over the last 10 seconds.
public String toString()
toString in class ObjectObject.toString()public CPUUtilization clone()