@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CPU extends Object implements Serializable, Cloneable, StructuredPojo
Represents the amount of CPU that an app is using on a physical device.
Note that this does not represent system-wide CPU usage.
Constructor and Description |
---|
CPU() |
Modifier and Type | Method and Description |
---|---|
CPU |
clone() |
boolean |
equals(Object obj) |
String |
getArchitecture()
The CPU's architecture, for example x86 or ARM.
|
Double |
getClock()
The clock speed of the device's CPU, expressed in hertz (Hz).
|
String |
getFrequency()
The CPU's frequency.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArchitecture(String architecture)
The CPU's architecture, for example x86 or ARM.
|
void |
setClock(Double clock)
The clock speed of the device's CPU, expressed in hertz (Hz).
|
void |
setFrequency(String frequency)
The CPU's frequency.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CPU |
withArchitecture(String architecture)
The CPU's architecture, for example x86 or ARM.
|
CPU |
withClock(Double clock)
The clock speed of the device's CPU, expressed in hertz (Hz).
|
CPU |
withFrequency(String frequency)
The CPU's frequency.
|
public void setFrequency(String frequency)
The CPU's frequency.
frequency
- The CPU's frequency.public String getFrequency()
The CPU's frequency.
public CPU withFrequency(String frequency)
The CPU's frequency.
frequency
- The CPU's frequency.public void setArchitecture(String architecture)
The CPU's architecture, for example x86 or ARM.
architecture
- The CPU's architecture, for example x86 or ARM.public String getArchitecture()
The CPU's architecture, for example x86 or ARM.
public CPU withArchitecture(String architecture)
The CPU's architecture, for example x86 or ARM.
architecture
- The CPU's architecture, for example x86 or ARM.public void setClock(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.
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 Double getClock()
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 withClock(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.
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 String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.