public static final class RunInstancesRequest.SchedulerOptions.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
RunInstancesRequest.SchedulerOptions |
build() |
RunInstancesRequest.SchedulerOptions.Builder |
dedicatedHostClusterId(String dedicatedHostClusterId)
The ID of the dedicated host cluster in which to create the instance.
|
public RunInstancesRequest.SchedulerOptions.Builder dedicatedHostClusterId(String dedicatedHostClusterId)
> This parameter is valid only when the `Tenancy` parameter is set to `host`. When you specify both the `DedicatedHostId` and `SchedulerOptions.DedicatedHostClusterId` parameters, take note of the following items: * If the specified dedicated host belongs to the specified dedicated host cluster, the instance is preferentially deployed on the specified dedicated host. * If the specified dedicated host does not belong to the specified dedicated host cluster, the instance cannot be created. You can call the [DescribeDedicatedHostClusters](~~184145~~) operation to query the list of dedicated host cluster IDs.
public RunInstancesRequest.SchedulerOptions build()
Copyright © 2024. All rights reserved.