Interface LaunchTemplateCpuOptionsRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LaunchTemplateCpuOptionsRequest.Builder,LaunchTemplateCpuOptionsRequest>
,SdkBuilder<LaunchTemplateCpuOptionsRequest.Builder,LaunchTemplateCpuOptionsRequest>
,SdkPojo
- Enclosing class:
- LaunchTemplateCpuOptionsRequest
public static interface LaunchTemplateCpuOptionsRequest.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateCpuOptionsRequest.Builder,LaunchTemplateCpuOptionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaunchTemplateCpuOptionsRequest.Builder
amdSevSnp(String amdSevSnp)
Indicates whether to enable the instance for AMD SEV-SNP.LaunchTemplateCpuOptionsRequest.Builder
amdSevSnp(AmdSevSnpSpecification amdSevSnp)
Indicates whether to enable the instance for AMD SEV-SNP.LaunchTemplateCpuOptionsRequest.Builder
coreCount(Integer coreCount)
The number of CPU cores for the instance.LaunchTemplateCpuOptionsRequest.Builder
threadsPerCore(Integer threadsPerCore)
The number of threads per CPU core.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
coreCount
LaunchTemplateCpuOptionsRequest.Builder coreCount(Integer 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
LaunchTemplateCpuOptionsRequest.Builder threadsPerCore(Integer 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
LaunchTemplateCpuOptionsRequest.Builder amdSevSnp(String 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:
AmdSevSnpSpecification
,AmdSevSnpSpecification
-
amdSevSnp
LaunchTemplateCpuOptionsRequest.Builder amdSevSnp(AmdSevSnpSpecification 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:
AmdSevSnpSpecification
,AmdSevSnpSpecification
-
-