Interface InstanceCapacity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceCapacity.Builder,
,InstanceCapacity> SdkBuilder<InstanceCapacity.Builder,
,InstanceCapacity> SdkPojo
- Enclosing class:
InstanceCapacity
@Mutable
@NotThreadSafe
public static interface InstanceCapacity.Builder
extends SdkPojo, CopyableBuilder<InstanceCapacity.Builder,InstanceCapacity>
-
Method Summary
Modifier and TypeMethodDescriptionavailableCapacity
(Integer availableCapacity) The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.instanceType
(String instanceType) The instance type supported by the Dedicated Host.totalCapacity
(Integer totalCapacity) The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.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, sdkFieldNameToField, sdkFields
-
Method Details
-
availableCapacity
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
- Parameters:
availableCapacity
- The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type supported by the Dedicated Host.
- Parameters:
instanceType
- The instance type supported by the Dedicated Host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCapacity
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.
- Parameters:
totalCapacity
- The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-