Interface CapacityAllocation.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityAllocation.Builder,CapacityAllocation>
,SdkBuilder<CapacityAllocation.Builder,CapacityAllocation>
,SdkPojo
- Enclosing class:
- CapacityAllocation
public static interface CapacityAllocation.Builder extends SdkPojo, CopyableBuilder<CapacityAllocation.Builder,CapacityAllocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityAllocation.Builder
allocationType(String allocationType)
The usage type.CapacityAllocation.Builder
allocationType(AllocationType allocationType)
The usage type.CapacityAllocation.Builder
count(Integer count)
The amount of instance capacity associated with the usage.-
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
-
allocationType
CapacityAllocation.Builder allocationType(String allocationType)
The usage type.
used
indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.- Parameters:
allocationType
- The usage type.used
indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AllocationType
,AllocationType
-
allocationType
CapacityAllocation.Builder allocationType(AllocationType allocationType)
The usage type.
used
indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.- Parameters:
allocationType
- The usage type.used
indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AllocationType
,AllocationType
-
count
CapacityAllocation.Builder count(Integer count)
The amount of instance capacity associated with the usage. For example a value of
4
indicates that instance capacity for 4 instances is currently in use.- Parameters:
count
- The amount of instance capacity associated with the usage. For example a value of4
indicates that instance capacity for 4 instances is currently in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-