@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() |
boolean |
hasValidCores()
Returns true if the ValidCores property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasValidThreadsPerCore()
Returns true if the ValidThreadsPerCore property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
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 boolean hasValidCores()
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.
You can use hasValidCores() to see if a value was sent in this field.
public boolean hasValidThreadsPerCore()
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.
You can use hasValidThreadsPerCore() to see if a value was sent in this field.
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.