@Generated(value="software.amazon.awssdk:codegen") public final class VCpuInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VCpuInfo.Builder,VCpuInfo>
Describes the vCPU configurations for the instance type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VCpuInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VCpuInfo.Builder |
builder() |
Integer |
defaultCores()
The default number of cores for the instance type.
|
Integer |
defaultThreadsPerCore()
The default number of threads per core for the instance type.
|
Integer |
defaultVCpus()
The default number of vCPUs for the instance type.
|
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 VCpuInfo.Builder> |
serializableBuilderClass() |
VCpuInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<Integer> |
validCores()
List of the valid number of cores that can be configured for the instance type.
|
List<Integer> |
validThreadsPerCore()
List of the valid number of threads per core that can be configured for the instance type.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer defaultVCpus()
The default number of vCPUs for the instance type.
public Integer defaultCores()
The default number of cores for the instance type.
public Integer defaultThreadsPerCore()
The default number of threads per core for the instance type.
public List<Integer> validCores()
List of the valid number of cores that can be configured for the instance type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Integer> validThreadsPerCore()
List of the valid number of threads per core that can be configured for the instance type.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public VCpuInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VCpuInfo.Builder,VCpuInfo>public static VCpuInfo.Builder builder()
public static Class<? extends VCpuInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.