@Generated(value="software.amazon.awssdk:codegen") public final class CPU extends Object implements StructuredPojo, ToCopyableBuilder<CPU.Builder,CPU>
Represents the amount of CPU that an app is using on a physical device.
Note that this does not represent system-wide CPU usage.
Modifier and Type | Class and Description |
---|---|
static interface |
CPU.Builder |
Modifier and Type | Method and Description |
---|---|
String |
architecture()
The CPU's architecture, for example x86 or ARM.
|
static CPU.Builder |
builder() |
Double |
clock()
The clock speed of the device's CPU, expressed in hertz (Hz).
|
boolean |
equals(Object obj) |
String |
frequency()
The CPU's frequency.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends CPU.Builder> |
serializableBuilderClass() |
CPU.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String frequency()
The CPU's frequency.
public String architecture()
The CPU's architecture, for example x86 or ARM.
public Double clock()
The clock speed of the device's CPU, expressed in hertz (Hz). For example, a 1.2 GHz CPU is expressed as 1200000000.
public CPU.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CPU.Builder,CPU>
public static CPU.Builder builder()
public static Class<? extends CPU.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.