Interface AvailableCapacity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AvailableCapacity.Builder,
,AvailableCapacity> SdkBuilder<AvailableCapacity.Builder,
,AvailableCapacity> SdkPojo
- Enclosing class:
AvailableCapacity
-
Method Summary
Modifier and TypeMethodDescriptionavailableInstanceCapacity
(Collection<InstanceCapacity> availableInstanceCapacity) The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity.availableInstanceCapacity
(Consumer<InstanceCapacity.Builder>... availableInstanceCapacity) The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity.availableInstanceCapacity
(InstanceCapacity... availableInstanceCapacity) The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity.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 Details
-
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
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 toavailableInstanceCapacity(List<InstanceCapacity>)
.- 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:
-
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.
-