Class CPUUtilization
- java.lang.Object
-
- com.amazonaws.services.elasticbeanstalk.model.CPUUtilization
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CPUUtilization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPUUtilization
clone()
boolean
equals(Object obj)
Double
getIdle()
Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.Double
getIOWait()
Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.Double
getIRQ()
Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.Double
getNice()
Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.Double
getSoftIRQ()
Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.Double
getSystem()
Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.Double
getUser()
Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.int
hashCode()
void
setIdle(Double idle)
Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.void
setIOWait(Double iOWait)
Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.void
setIRQ(Double iRQ)
Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.void
setNice(Double nice)
Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.void
setSoftIRQ(Double softIRQ)
Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.void
setSystem(Double system)
Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.void
setUser(Double user)
Percentage of time that the CPU has spent in theUser
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 theIdle
state over the last 10 seconds.CPUUtilization
withIOWait(Double iOWait)
Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.CPUUtilization
withIRQ(Double iRQ)
Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.CPUUtilization
withNice(Double nice)
Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.CPUUtilization
withSoftIRQ(Double softIRQ)
Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.CPUUtilization
withSystem(Double system)
Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.CPUUtilization
withUser(Double user)
Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.
-
-
-
Method Detail
-
setUser
public void setUser(Double user)
Percentage of time that the CPU has spent in the
User
state over the last 10 seconds.- Parameters:
user
- Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.
-
getUser
public Double getUser()
Percentage of time that the CPU has spent in the
User
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
User
state over the last 10 seconds.
-
withUser
public CPUUtilization withUser(Double user)
Percentage of time that the CPU has spent in the
User
state over the last 10 seconds.- Parameters:
user
- Percentage of time that the CPU has spent in theUser
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNice
public void setNice(Double nice)
Percentage of time that the CPU has spent in the
Nice
state over the last 10 seconds.- Parameters:
nice
- Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.
-
getNice
public Double getNice()
Percentage of time that the CPU has spent in the
Nice
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
Nice
state over the last 10 seconds.
-
withNice
public CPUUtilization withNice(Double nice)
Percentage of time that the CPU has spent in the
Nice
state over the last 10 seconds.- Parameters:
nice
- Percentage of time that the CPU has spent in theNice
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSystem
public void setSystem(Double system)
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.- Parameters:
system
- Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.
-
getSystem
public Double getSystem()
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.
-
withSystem
public CPUUtilization withSystem(Double system)
Percentage of time that the CPU has spent in the
System
state over the last 10 seconds.- Parameters:
system
- Percentage of time that the CPU has spent in theSystem
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdle
public void setIdle(Double idle)
Percentage of time that the CPU has spent in the
Idle
state over the last 10 seconds.- Parameters:
idle
- Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.
-
getIdle
public Double getIdle()
Percentage of time that the CPU has spent in the
Idle
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
Idle
state over the last 10 seconds.
-
withIdle
public CPUUtilization withIdle(Double idle)
Percentage of time that the CPU has spent in the
Idle
state over the last 10 seconds.- Parameters:
idle
- Percentage of time that the CPU has spent in theIdle
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIOWait
public void setIOWait(Double iOWait)
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.- Parameters:
iOWait
- Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.
-
getIOWait
public Double getIOWait()
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.
-
withIOWait
public CPUUtilization withIOWait(Double iOWait)
Percentage of time that the CPU has spent in the
I/O Wait
state over the last 10 seconds.- Parameters:
iOWait
- Percentage of time that the CPU has spent in theI/O Wait
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIRQ
public void setIRQ(Double iRQ)
Percentage of time that the CPU has spent in the
IRQ
state over the last 10 seconds.- Parameters:
iRQ
- Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.
-
getIRQ
public Double getIRQ()
Percentage of time that the CPU has spent in the
IRQ
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
IRQ
state over the last 10 seconds.
-
withIRQ
public CPUUtilization withIRQ(Double iRQ)
Percentage of time that the CPU has spent in the
IRQ
state over the last 10 seconds.- Parameters:
iRQ
- Percentage of time that the CPU has spent in theIRQ
state over the last 10 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSoftIRQ
public void setSoftIRQ(Double softIRQ)
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.- Parameters:
softIRQ
- Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.
-
getSoftIRQ
public Double getSoftIRQ()
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.
-
withSoftIRQ
public CPUUtilization withSoftIRQ(Double softIRQ)
Percentage of time that the CPU has spent in the
SoftIRQ
state over the last 10 seconds.- Parameters:
softIRQ
- Percentage of time that the CPU has spent in theSoftIRQ
state over the last 10 seconds.- 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 CPUUtilization clone()
-
-