Interface InstanceCapacity.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceCapacity.Builder,InstanceCapacity>
,SdkBuilder<InstanceCapacity.Builder,InstanceCapacity>
,SdkPojo
- Enclosing class:
- InstanceCapacity
public static interface InstanceCapacity.Builder extends SdkPojo, CopyableBuilder<InstanceCapacity.Builder,InstanceCapacity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceCapacity.Builder
availableCapacity(Integer availableCapacity)
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.InstanceCapacity.Builder
instanceType(String instanceType)
The instance type supported by the Dedicated Host.InstanceCapacity.Builder
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, sdkFields
-
-
-
-
Method Detail
-
availableCapacity
InstanceCapacity.Builder availableCapacity(Integer 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
InstanceCapacity.Builder instanceType(String 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
InstanceCapacity.Builder totalCapacity(Integer 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.
-
-