public static final class RunInstancesRequest.CpuOptions.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
RunInstancesRequest.CpuOptions |
build() |
RunInstancesRequest.CpuOptions.Builder |
core(Integer core)
The number of CPU cores.
|
RunInstancesRequest.CpuOptions.Builder |
numa(String numa)
This parameter is no longer used.
|
RunInstancesRequest.CpuOptions.Builder |
threadsPerCore(Integer threadsPerCore)
The number of threads per CPU core.
|
RunInstancesRequest.CpuOptions.Builder |
topologyType(String topologyType)
The CPU topology type of the instance.
|
public RunInstancesRequest.CpuOptions.Builder core(Integer core)
For information about the default value, see [Customize CPU options](~~145895~~).
public RunInstancesRequest.CpuOptions.Builder numa(String numa)
public RunInstancesRequest.CpuOptions.Builder threadsPerCore(Integer threadsPerCore)
* If `CpuOptionsThreadPerCore` is set to 1, Hyper-Threading (HT) is disabled. * This parameter is applicable only to specific instance types.
public RunInstancesRequest.CpuOptions.Builder topologyType(String topologyType)
* ContinuousCoreToHTMapping: The HT technology allows continuous threads to run on the same core in the CPU topology of the instance.`` * DiscreteCoreToHTMapping: The HT technology allows discrete threads to run on the same core in the CPU topology of the instance.`` This parameter is empty by default. > This parameter is supported only for specific instance families. For more information about the supported instance families, see [View and modify the CPU topology](~~2636059~~).
public RunInstancesRequest.CpuOptions build()
Copyright © 2024. All rights reserved.