public static interface AvailableCapacity.Builder extends SdkPojo, CopyableBuilder<AvailableCapacity.Builder,AvailableCapacity>
Modifier and Type | Method and Description |
---|---|
AvailableCapacity.Builder |
availableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available
capacity.
|
AvailableCapacity.Builder |
availableInstanceCapacity(Consumer<InstanceCapacity.Builder>... availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available
capacity.
|
AvailableCapacity.Builder |
availableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available
capacity.
|
AvailableCapacity.Builder |
availableVCpus(Integer availableVCpus)
The number of vCPUs available for launching instances onto the Dedicated Host.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AvailableCapacity.Builder availableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
availableInstanceCapacity
- The number of instances that can be launched onto the Dedicated Host depending on the host's available
capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the
number of instances for each instance size that is supported on the host.AvailableCapacity.Builder availableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
availableInstanceCapacity
- The number of instances that can be launched onto the Dedicated Host depending on the host's available
capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the
number of instances for each instance size that is supported on the host.AvailableCapacity.Builder availableInstanceCapacity(Consumer<InstanceCapacity.Builder>... availableInstanceCapacity)
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #availableInstanceCapacity(List)
.availableInstanceCapacity
- a consumer that will call methods on List.Builder
#availableInstanceCapacity(List)
AvailableCapacity.Builder availableVCpus(Integer availableVCpus)
The number of vCPUs available for launching instances onto the Dedicated Host.
availableVCpus
- The number of vCPUs available for launching instances onto the Dedicated Host.Copyright © 2022. All rights reserved.