@Generated(value="software.amazon.awssdk:codegen") public final class CPUUtilization extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CPUUtilization.Builder,CPUUtilization>
CPU utilization metrics for an instance.
Modifier and Type | Class and Description |
---|---|
static interface |
CPUUtilization.Builder |
Modifier and Type | Method and Description |
---|---|
static CPUUtilization.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
idle()
Percentage of time that the CPU has spent in the
Idle state over the last 10 seconds. |
Double |
ioWait()
Available on Linux environments only.
|
Double |
irq()
Available on Linux environments only.
|
Double |
nice()
Available on Linux environments only.
|
Double |
privileged()
Available on Windows environments only.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CPUUtilization.Builder> |
serializableBuilderClass() |
Double |
softIRQ()
Available on Linux environments only.
|
Double |
system()
Available on Linux environments only.
|
CPUUtilization.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Double |
user()
Percentage of time that the CPU has spent in the
User state over the last 10 seconds. |
copy
public final Double user()
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 final Double nice()
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 final Double system()
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 final Double idle()
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 final 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.
Percentage of time that the CPU has spent in the I/O Wait
state over the last 10 seconds.
public final Double irq()
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 final Double softIRQ()
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 final Double privileged()
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CPUUtilization.Builder,CPUUtilization>
public static CPUUtilization.Builder builder()
public static Class<? extends CPUUtilization.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.