@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VCpuInfo extends Object implements Serializable, Cloneable
Describes the vCPU configurations for the instance type.
Constructor and Description |
---|
VCpuInfo() |
Modifier and Type | Method and Description |
---|---|
VCpuInfo |
clone() |
boolean |
equals(Object obj) |
Integer |
getDefaultCores()
The default number of cores for the instance type.
|
Integer |
getDefaultThreadsPerCore()
The default number of threads per core for the instance type.
|
Integer |
getDefaultVCpus()
The default number of vCPUs for the instance type.
|
List<Integer> |
getValidCores()
The valid number of cores that can be configured for the instance type.
|
List<Integer> |
getValidThreadsPerCore()
The valid number of threads per core that can be configured for the instance type.
|
int |
hashCode() |
void |
setDefaultCores(Integer defaultCores)
The default number of cores for the instance type.
|
void |
setDefaultThreadsPerCore(Integer defaultThreadsPerCore)
The default number of threads per core for the instance type.
|
void |
setDefaultVCpus(Integer defaultVCpus)
The default number of vCPUs for the instance type.
|
void |
setValidCores(Collection<Integer> validCores)
The valid number of cores that can be configured for the instance type.
|
void |
setValidThreadsPerCore(Collection<Integer> validThreadsPerCore)
The valid number of threads per core that can be configured for the instance type.
|
String |
toString()
Returns a string representation of this object.
|
VCpuInfo |
withDefaultCores(Integer defaultCores)
The default number of cores for the instance type.
|
VCpuInfo |
withDefaultThreadsPerCore(Integer defaultThreadsPerCore)
The default number of threads per core for the instance type.
|
VCpuInfo |
withDefaultVCpus(Integer defaultVCpus)
The default number of vCPUs for the instance type.
|
VCpuInfo |
withValidCores(Collection<Integer> validCores)
The valid number of cores that can be configured for the instance type.
|
VCpuInfo |
withValidCores(Integer... validCores)
The valid number of cores that can be configured for the instance type.
|
VCpuInfo |
withValidThreadsPerCore(Collection<Integer> validThreadsPerCore)
The valid number of threads per core that can be configured for the instance type.
|
VCpuInfo |
withValidThreadsPerCore(Integer... validThreadsPerCore)
The valid number of threads per core that can be configured for the instance type.
|
public void setDefaultVCpus(Integer defaultVCpus)
The default number of vCPUs for the instance type.
defaultVCpus
- The default number of vCPUs for the instance type.public Integer getDefaultVCpus()
The default number of vCPUs for the instance type.
public VCpuInfo withDefaultVCpus(Integer defaultVCpus)
The default number of vCPUs for the instance type.
defaultVCpus
- The default number of vCPUs for the instance type.public void setDefaultCores(Integer defaultCores)
The default number of cores for the instance type.
defaultCores
- The default number of cores for the instance type.public Integer getDefaultCores()
The default number of cores for the instance type.
public VCpuInfo withDefaultCores(Integer defaultCores)
The default number of cores for the instance type.
defaultCores
- The default number of cores for the instance type.public void setDefaultThreadsPerCore(Integer defaultThreadsPerCore)
The default number of threads per core for the instance type.
defaultThreadsPerCore
- The default number of threads per core for the instance type.public Integer getDefaultThreadsPerCore()
The default number of threads per core for the instance type.
public VCpuInfo withDefaultThreadsPerCore(Integer defaultThreadsPerCore)
The default number of threads per core for the instance type.
defaultThreadsPerCore
- The default number of threads per core for the instance type.public List<Integer> getValidCores()
The valid number of cores that can be configured for the instance type.
public void setValidCores(Collection<Integer> validCores)
The valid number of cores that can be configured for the instance type.
validCores
- The valid number of cores that can be configured for the instance type.public VCpuInfo withValidCores(Integer... validCores)
The valid number of cores that can be configured for the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setValidCores(java.util.Collection)
or withValidCores(java.util.Collection)
if you want to
override the existing values.
validCores
- The valid number of cores that can be configured for the instance type.public VCpuInfo withValidCores(Collection<Integer> validCores)
The valid number of cores that can be configured for the instance type.
validCores
- The valid number of cores that can be configured for the instance type.public List<Integer> getValidThreadsPerCore()
The valid number of threads per core that can be configured for the instance type.
public void setValidThreadsPerCore(Collection<Integer> validThreadsPerCore)
The valid number of threads per core that can be configured for the instance type.
validThreadsPerCore
- The valid number of threads per core that can be configured for the instance type.public VCpuInfo withValidThreadsPerCore(Integer... validThreadsPerCore)
The valid number of threads per core that can be configured for the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setValidThreadsPerCore(java.util.Collection)
or withValidThreadsPerCore(java.util.Collection)
if you want to override the existing values.
validThreadsPerCore
- The valid number of threads per core that can be configured for the instance type.public VCpuInfo withValidThreadsPerCore(Collection<Integer> validThreadsPerCore)
The valid number of threads per core that can be configured for the instance type.
validThreadsPerCore
- The valid number of threads per core that can be configured for the instance type.public String toString()
toString
in class Object
Object.toString()