public static interface AvailableCapacity.Builder extends SdkPojo, CopyableBuilder<AvailableCapacity.Builder,AvailableCapacity>
Modifier and Type | Method and Description |
---|---|
AvailableCapacity.Builder |
availableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
|
AvailableCapacity.Builder |
availableInstanceCapacity(Consumer<InstanceCapacity.Builder>... availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
|
AvailableCapacity.Builder |
availableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
|
AvailableCapacity.Builder |
availableVCpus(Integer availableVCpus)
The number of vCPUs available on the Dedicated Host.
|
copy
applyMutation, build
AvailableCapacity.Builder availableInstanceCapacity(Collection<InstanceCapacity> availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
availableInstanceCapacity
- The total number of instances supported by the Dedicated Host.AvailableCapacity.Builder availableInstanceCapacity(InstanceCapacity... availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
availableInstanceCapacity
- The total number of instances supported by the Dedicated Host.AvailableCapacity.Builder availableInstanceCapacity(Consumer<InstanceCapacity.Builder>... availableInstanceCapacity)
The total number of instances supported by the Dedicated Host.
This is a convenience 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 on the Dedicated Host.
availableVCpus
- The number of vCPUs available on the Dedicated Host.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.