@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CPU extends Object implements Serializable, Cloneable, StructuredPojo
Information about a server's CPU.
| Constructor and Description |
|---|
CPU() |
| Modifier and Type | Method and Description |
|---|---|
CPU |
clone() |
boolean |
equals(Object obj) |
Long |
getCores()
The number of CPU cores.
|
String |
getModelName()
The model name of the CPU.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCores(Long cores)
The number of CPU cores.
|
void |
setModelName(String modelName)
The model name of the CPU.
|
String |
toString()
Returns a string representation of this object.
|
CPU |
withCores(Long cores)
The number of CPU cores.
|
CPU |
withModelName(String modelName)
The model name of the CPU.
|
public void setCores(Long cores)
The number of CPU cores.
cores - The number of CPU cores.public Long getCores()
The number of CPU cores.
public CPU withCores(Long cores)
The number of CPU cores.
cores - The number of CPU cores.public void setModelName(String modelName)
The model name of the CPU.
modelName - The model name of the CPU.public String getModelName()
The model name of the CPU.
public CPU withModelName(String modelName)
The model name of the CPU.
modelName - The model name of the CPU.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.