@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateCpuOptions extends Object implements Serializable, Cloneable
The CPU options for the instance.
Constructor and Description |
---|
LaunchTemplateCpuOptions() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateCpuOptions |
clone() |
boolean |
equals(Object obj) |
String |
getAmdSevSnp()
Indicates whether the instance is enabled for AMD SEV-SNP.
|
Integer |
getCoreCount()
The number of CPU cores for the instance.
|
Integer |
getThreadsPerCore()
The number of threads per CPU core.
|
int |
hashCode() |
void |
setAmdSevSnp(String amdSevSnp)
Indicates whether the instance is enabled for AMD SEV-SNP.
|
void |
setCoreCount(Integer coreCount)
The number of CPU cores for the instance.
|
void |
setThreadsPerCore(Integer threadsPerCore)
The number of threads per CPU core.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateCpuOptions |
withAmdSevSnp(AmdSevSnpSpecification amdSevSnp)
Indicates whether the instance is enabled for AMD SEV-SNP.
|
LaunchTemplateCpuOptions |
withAmdSevSnp(String amdSevSnp)
Indicates whether the instance is enabled for AMD SEV-SNP.
|
LaunchTemplateCpuOptions |
withCoreCount(Integer coreCount)
The number of CPU cores for the instance.
|
LaunchTemplateCpuOptions |
withThreadsPerCore(Integer threadsPerCore)
The number of threads per CPU core.
|
public void setCoreCount(Integer coreCount)
The number of CPU cores for the instance.
coreCount
- The number of CPU cores for the instance.public Integer getCoreCount()
The number of CPU cores for the instance.
public LaunchTemplateCpuOptions withCoreCount(Integer coreCount)
The number of CPU cores for the instance.
coreCount
- The number of CPU cores for the instance.public void setThreadsPerCore(Integer threadsPerCore)
The number of threads per CPU core.
threadsPerCore
- The number of threads per CPU core.public Integer getThreadsPerCore()
The number of threads per CPU core.
public LaunchTemplateCpuOptions withThreadsPerCore(Integer threadsPerCore)
The number of threads per CPU core.
threadsPerCore
- The number of threads per CPU core.public void setAmdSevSnp(String amdSevSnp)
Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.
amdSevSnp
- Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.AmdSevSnpSpecification
public String getAmdSevSnp()
Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.
AmdSevSnpSpecification
public LaunchTemplateCpuOptions withAmdSevSnp(String amdSevSnp)
Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.
amdSevSnp
- Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.AmdSevSnpSpecification
public LaunchTemplateCpuOptions withAmdSevSnp(AmdSevSnpSpecification amdSevSnp)
Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.
amdSevSnp
- Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.AmdSevSnpSpecification
public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateCpuOptions clone()