@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateCpuOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateCpuOptions.Builder,LaunchTemplateCpuOptions>
The CPU options for the instance.
Modifier and Type | Class and Description |
---|---|
static interface |
LaunchTemplateCpuOptions.Builder |
Modifier and Type | Method and Description |
---|---|
AmdSevSnpSpecification |
amdSevSnp()
Indicates whether the instance is enabled for AMD SEV-SNP.
|
String |
amdSevSnpAsString()
Indicates whether the instance is enabled for AMD SEV-SNP.
|
static LaunchTemplateCpuOptions.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 LaunchTemplateCpuOptions.Builder> |
serializableBuilderClass() |
Integer |
threadsPerCore()
The number of threads per CPU core.
|
LaunchTemplateCpuOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer coreCount()
The number of CPU cores for the instance.
public final Integer threadsPerCore()
The number of threads per CPU core.
public final AmdSevSnpSpecification amdSevSnp()
Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.
If the service returns an enum value that is not available in the current SDK version, amdSevSnp
will
return AmdSevSnpSpecification.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from amdSevSnpAsString()
.
AmdSevSnpSpecification
public final String amdSevSnpAsString()
Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see AMD SEV-SNP.
If the service returns an enum value that is not available in the current SDK version, amdSevSnp
will
return AmdSevSnpSpecification.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from amdSevSnpAsString()
.
AmdSevSnpSpecification
public LaunchTemplateCpuOptions.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LaunchTemplateCpuOptions.Builder,LaunchTemplateCpuOptions>
public static LaunchTemplateCpuOptions.Builder builder()
public static Class<? extends LaunchTemplateCpuOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.