Interface CpuOptionsRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CpuOptionsRequest.Builder,,CpuOptionsRequest> SdkBuilder<CpuOptionsRequest.Builder,,CpuOptionsRequest> SdkPojo
- Enclosing class:
CpuOptionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether to enable the instance for AMD SEV-SNP.amdSevSnp(AmdSevSnpSpecification amdSevSnp) Indicates whether to enable the instance for AMD SEV-SNP.The number of CPU cores for the instance.nestedVirtualization(String nestedVirtualization) Indicates whether to enable the instance for nested virtualization.nestedVirtualization(NestedVirtualizationSpecification nestedVirtualization) Indicates whether to enable the instance for nested virtualization.threadsPerCore(Integer threadsPerCore) The number of threads per CPU core.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
coreCount
The number of CPU cores for the instance.
- Parameters:
coreCount- The number of CPU cores for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threadsPerCore
The number of threads per CPU core. To disable multithreading for the instance, specify a value of
1. Otherwise, specify the default value of2.- Parameters:
threadsPerCore- The number of threads per CPU core. To disable multithreading for the instance, specify a value of1. Otherwise, specify the default value of2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amdSevSnp
Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP.
- Parameters:
amdSevSnp- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
amdSevSnp
Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP.
- Parameters:
amdSevSnp- Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nestedVirtualization
Indicates whether to enable the instance for nested virtualization. Nested virtualization is supported only on 8th generation Intel-based instance types (c8i, m8i, r8i, and their flex variants). When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.
- Parameters:
nestedVirtualization- Indicates whether to enable the instance for nested virtualization. Nested virtualization is supported only on 8th generation Intel-based instance types (c8i, m8i, r8i, and their flex variants). When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nestedVirtualization
CpuOptionsRequest.Builder nestedVirtualization(NestedVirtualizationSpecification nestedVirtualization) Indicates whether to enable the instance for nested virtualization. Nested virtualization is supported only on 8th generation Intel-based instance types (c8i, m8i, r8i, and their flex variants). When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.
- Parameters:
nestedVirtualization- Indicates whether to enable the instance for nested virtualization. Nested virtualization is supported only on 8th generation Intel-based instance types (c8i, m8i, r8i, and their flex variants). When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-