@Generated(value="software.amazon.awssdk:codegen") public final class CpuOptionsRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CpuOptionsRequest.Builder,CpuOptionsRequest>
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CpuOptionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CpuOptionsRequest.Builder |
builder() |
Integer |
coreCount()
The number of CPU cores for the instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CpuOptionsRequest.Builder> |
serializableBuilderClass() |
Integer |
threadsPerCore()
The number of threads per CPU core.
|
CpuOptionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer coreCount()
The number of CPU cores for the instance.
public Integer threadsPerCore()
The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1
. Otherwise, specify the default value of 2.
1. Otherwise, specify the default value of 2.public CpuOptionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CpuOptionsRequest.Builder,CpuOptionsRequest>public static CpuOptionsRequest.Builder builder()
public static Class<? extends CpuOptionsRequest.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.