Interface AvailableCapacity.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AvailableCapacity.Builder,AvailableCapacity>
,SdkBuilder<AvailableCapacity.Builder,AvailableCapacity>
,SdkPojo
- Enclosing class:
- AvailableCapacity
public static interface AvailableCapacity.Builder extends SdkPojo, CopyableBuilder<AvailableCapacity.Builder,AvailableCapacity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
availableInstanceCapacity
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableInstanceCapacity
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableInstanceCapacity
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 theInstanceCapacity.Builder
avoiding the need to create one manually viaInstanceCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#availableInstanceCapacity(List
.) - Parameters:
availableInstanceCapacity
- a consumer that will call methods onInstanceCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#availableInstanceCapacity(java.util.Collection
)
-
availableVCpus
AvailableCapacity.Builder availableVCpus(Integer availableVCpus)
The number of vCPUs available for launching instances onto the Dedicated Host.
- Parameters:
availableVCpus
- The number of vCPUs available for launching instances onto the Dedicated Host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-