@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CPU extends Object implements Serializable, Cloneable, StructuredPojo
Source server CPU information.
Constructor and Description |
---|
CPU() |
Modifier and Type | Method and Description |
---|---|
CPU |
clone() |
boolean |
equals(Object obj) |
Long |
getCores()
The number of CPU cores on the source server.
|
String |
getModelName()
The source server's CPU model name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCores(Long cores)
The number of CPU cores on the source server.
|
void |
setModelName(String modelName)
The source server's CPU model name.
|
String |
toString()
Returns a string representation of this object.
|
CPU |
withCores(Long cores)
The number of CPU cores on the source server.
|
CPU |
withModelName(String modelName)
The source server's CPU model name.
|
public void setCores(Long cores)
The number of CPU cores on the source server.
cores
- The number of CPU cores on the source server.public Long getCores()
The number of CPU cores on the source server.
public CPU withCores(Long cores)
The number of CPU cores on the source server.
cores
- The number of CPU cores on the source server.public void setModelName(String modelName)
The source server's CPU model name.
modelName
- The source server's CPU model name.public String getModelName()
The source server's CPU model name.
public CPU withModelName(String modelName)
The source server's CPU model name.
modelName
- The source server's CPU model name.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.