Interface AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder,
,AwsEc2LaunchTemplateDataCpuOptionsDetails> SdkBuilder<AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder,
,AwsEc2LaunchTemplateDataCpuOptionsDetails> SdkPojo
- Enclosing class:
AwsEc2LaunchTemplateDataCpuOptionsDetails
public static interface AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataCpuOptionsDetails.Builder,AwsEc2LaunchTemplateDataCpuOptionsDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of CPU cores for the instance.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 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. A value of
1
disables multithreading for the instance, The default value is2
.- Parameters:
threadsPerCore
- The number of threads per CPU core. A value of1
disables multithreading for the instance, The default value is2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-