Class CPUUtilization
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.CPUUtilization
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CPUUtilization.Builder,CPUUtilization>
@Generated("software.amazon.awssdk:codegen") public final class CPUUtilization extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CPUUtilization.Builder,CPUUtilization>
CPU utilization metrics for an instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCPUUtilization.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CPUUtilization.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Doubleidle()Percentage of time that the CPU has spent in theIdlestate over the last 10 seconds.DoubleioWait()Available on Linux environments only.Doubleirq()Available on Linux environments only.Doublenice()Available on Linux environments only.Doubleprivileged()Available on Windows environments only.List<SdkField<?>>sdkFields()static Class<? extends CPUUtilization.Builder>serializableBuilderClass()DoublesoftIRQ()Available on Linux environments only.Doublesystem()Available on Linux environments only.CPUUtilization.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doubleuser()Percentage of time that the CPU has spent in theUserstate over the last 10 seconds.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
user
public final Double user()
Percentage of time that the CPU has spent in the
Userstate over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
Userstate over the last 10 seconds.
-
nice
public final Double nice()
Available on Linux environments only.
Percentage of time that the CPU has spent in the
Nicestate over the last 10 seconds.- Returns:
- Available on Linux environments only.
Percentage of time that the CPU has spent in the
Nicestate over the last 10 seconds.
-
system
public final Double system()
Available on Linux environments only.
Percentage of time that the CPU has spent in the
Systemstate over the last 10 seconds.- Returns:
- Available on Linux environments only.
Percentage of time that the CPU has spent in the
Systemstate over the last 10 seconds.
-
idle
public final Double idle()
Percentage of time that the CPU has spent in the
Idlestate over the last 10 seconds.- Returns:
- Percentage of time that the CPU has spent in the
Idlestate over the last 10 seconds.
-
ioWait
public final Double ioWait()
Available on Linux environments only.
Percentage of time that the CPU has spent in the
I/O Waitstate over the last 10 seconds.- Returns:
- Available on Linux environments only.
Percentage of time that the CPU has spent in the
I/O Waitstate over the last 10 seconds.
-
irq
public final Double irq()
Available on Linux environments only.
Percentage of time that the CPU has spent in the
IRQstate over the last 10 seconds.- Returns:
- Available on Linux environments only.
Percentage of time that the CPU has spent in the
IRQstate over the last 10 seconds.
-
softIRQ
public final Double softIRQ()
Available on Linux environments only.
Percentage of time that the CPU has spent in the
SoftIRQstate over the last 10 seconds.- Returns:
- Available on Linux environments only.
Percentage of time that the CPU has spent in the
SoftIRQstate over the last 10 seconds.
-
privileged
public final Double privileged()
Available on Windows environments only.
Percentage of time that the CPU has spent in the
Privilegedstate over the last 10 seconds.- Returns:
- Available on Windows environments only.
Percentage of time that the CPU has spent in the
Privilegedstate over the last 10 seconds.
-
toBuilder
public CPUUtilization.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CPUUtilization.Builder,CPUUtilization>
-
builder
public static CPUUtilization.Builder builder()
-
serializableBuilderClass
public static Class<? extends CPUUtilization.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-