@Stability(value=Stable) public static final class CfnLaunchTemplate.CpuOptionsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.CpuOptionsProperty>
CfnLaunchTemplate.CpuOptionsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLaunchTemplate.CpuOptionsProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.CpuOptionsProperty.Builder |
coreCount(Number coreCount)
Sets the value of
CfnLaunchTemplate.CpuOptionsProperty.getCoreCount() |
CfnLaunchTemplate.CpuOptionsProperty.Builder |
threadsPerCore(Number threadsPerCore)
Sets the value of
CfnLaunchTemplate.CpuOptionsProperty.getThreadsPerCore() |
@Stability(value=Stable) public CfnLaunchTemplate.CpuOptionsProperty.Builder coreCount(Number coreCount)
CfnLaunchTemplate.CpuOptionsProperty.getCoreCount()coreCount - The number of CPU cores for the instance.this@Stability(value=Stable) public CfnLaunchTemplate.CpuOptionsProperty.Builder threadsPerCore(Number threadsPerCore)
CfnLaunchTemplate.CpuOptionsProperty.getThreadsPerCore()threadsPerCore - The number of threads per CPU core.
To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.this@Stability(value=Stable) public CfnLaunchTemplate.CpuOptionsProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunchTemplate.CpuOptionsProperty>CfnLaunchTemplate.CpuOptionsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.