@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CpuOptions extends Object implements Serializable, Cloneable, StructuredPojo
The options for how a device's CPU is configured.
Constructor and Description |
---|
CpuOptions() |
Modifier and Type | Method and Description |
---|---|
CpuOptions |
clone() |
boolean |
equals(Object obj) |
Integer |
getCoreCount()
The number of cores that the CPU can use.
|
Integer |
getThreadsPerCore()
The number of threads per core in the CPU.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCoreCount(Integer coreCount)
The number of cores that the CPU can use.
|
void |
setThreadsPerCore(Integer threadsPerCore)
The number of threads per core in the CPU.
|
String |
toString()
Returns a string representation of this object.
|
CpuOptions |
withCoreCount(Integer coreCount)
The number of cores that the CPU can use.
|
CpuOptions |
withThreadsPerCore(Integer threadsPerCore)
The number of threads per core in the CPU.
|
public void setCoreCount(Integer coreCount)
The number of cores that the CPU can use.
coreCount
- The number of cores that the CPU can use.public Integer getCoreCount()
The number of cores that the CPU can use.
public CpuOptions withCoreCount(Integer coreCount)
The number of cores that the CPU can use.
coreCount
- The number of cores that the CPU can use.public void setThreadsPerCore(Integer threadsPerCore)
The number of threads per core in the CPU.
threadsPerCore
- The number of threads per core in the CPU.public Integer getThreadsPerCore()
The number of threads per core in the CPU.
public CpuOptions withThreadsPerCore(Integer threadsPerCore)
The number of threads per core in the CPU.
threadsPerCore
- The number of threads per core in the CPU.public String toString()
toString
in class Object
Object.toString()
public CpuOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.