Interface CapacityBlockStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityBlockStatus.Builder,CapacityBlockStatus>,SdkBuilder<CapacityBlockStatus.Builder,CapacityBlockStatus>,SdkPojo
- Enclosing class:
- CapacityBlockStatus
@Mutable @NotThreadSafe public static interface CapacityBlockStatus.Builder extends SdkPojo, CopyableBuilder<CapacityBlockStatus.Builder,CapacityBlockStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityBlockStatus.BuildercapacityBlockId(String capacityBlockId)The ID of the Capacity Block.CapacityBlockStatus.BuildercapacityReservationStatuses(Collection<CapacityReservationStatus> capacityReservationStatuses)The availability of capacity for the Capacity Block reservations.CapacityBlockStatus.BuildercapacityReservationStatuses(Consumer<CapacityReservationStatus.Builder>... capacityReservationStatuses)The availability of capacity for the Capacity Block reservations.CapacityBlockStatus.BuildercapacityReservationStatuses(CapacityReservationStatus... capacityReservationStatuses)The availability of capacity for the Capacity Block reservations.CapacityBlockStatus.BuilderinterconnectStatus(String interconnectStatus)The status of the high-bandwidth accelerator interconnect.CapacityBlockStatus.BuilderinterconnectStatus(CapacityBlockInterconnectStatus interconnectStatus)The status of the high-bandwidth accelerator interconnect.CapacityBlockStatus.BuildertotalAvailableCapacity(Integer totalAvailableCapacity)The remaining capacity.CapacityBlockStatus.BuildertotalCapacity(Integer totalCapacity)The combined amount ofAvailableandUnavailablecapacity in the Capacity Block.CapacityBlockStatus.BuildertotalUnavailableCapacity(Integer totalUnavailableCapacity)The unavailable capacity.-
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 Detail
-
capacityBlockId
CapacityBlockStatus.Builder capacityBlockId(String capacityBlockId)
The ID of the Capacity Block.
- Parameters:
capacityBlockId- The ID of the Capacity Block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interconnectStatus
CapacityBlockStatus.Builder interconnectStatus(String interconnectStatus)
The status of the high-bandwidth accelerator interconnect. Possible states include:
-
okthe accelerator interconnect is healthy. -
impaired- accelerator interconnect communication is impaired. -
insufficient-data- insufficient data to determine accelerator interconnect status.
- Parameters:
interconnectStatus- The status of the high-bandwidth accelerator interconnect. Possible states include:-
okthe accelerator interconnect is healthy. -
impaired- accelerator interconnect communication is impaired. -
insufficient-data- insufficient data to determine accelerator interconnect status.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapacityBlockInterconnectStatus,CapacityBlockInterconnectStatus
-
-
interconnectStatus
CapacityBlockStatus.Builder interconnectStatus(CapacityBlockInterconnectStatus interconnectStatus)
The status of the high-bandwidth accelerator interconnect. Possible states include:
-
okthe accelerator interconnect is healthy. -
impaired- accelerator interconnect communication is impaired. -
insufficient-data- insufficient data to determine accelerator interconnect status.
- Parameters:
interconnectStatus- The status of the high-bandwidth accelerator interconnect. Possible states include:-
okthe accelerator interconnect is healthy. -
impaired- accelerator interconnect communication is impaired. -
insufficient-data- insufficient data to determine accelerator interconnect status.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CapacityBlockInterconnectStatus,CapacityBlockInterconnectStatus
-
-
totalCapacity
CapacityBlockStatus.Builder totalCapacity(Integer totalCapacity)
The combined amount of
AvailableandUnavailablecapacity in the Capacity Block.- Parameters:
totalCapacity- The combined amount ofAvailableandUnavailablecapacity in the Capacity Block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalAvailableCapacity
CapacityBlockStatus.Builder totalAvailableCapacity(Integer totalAvailableCapacity)
The remaining capacity. Indicates the number of resources that can be launched into the Capacity Block.
- Parameters:
totalAvailableCapacity- The remaining capacity. Indicates the number of resources that can be launched into the Capacity Block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalUnavailableCapacity
CapacityBlockStatus.Builder totalUnavailableCapacity(Integer totalUnavailableCapacity)
The unavailable capacity. Indicates the instance capacity that is unavailable for use due to a system status check failure.
- Parameters:
totalUnavailableCapacity- The unavailable capacity. Indicates the instance capacity that is unavailable for use due to a system status check failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationStatuses
CapacityBlockStatus.Builder capacityReservationStatuses(Collection<CapacityReservationStatus> capacityReservationStatuses)
The availability of capacity for the Capacity Block reservations.
- Parameters:
capacityReservationStatuses- The availability of capacity for the Capacity Block reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationStatuses
CapacityBlockStatus.Builder capacityReservationStatuses(CapacityReservationStatus... capacityReservationStatuses)
The availability of capacity for the Capacity Block reservations.
- Parameters:
capacityReservationStatuses- The availability of capacity for the Capacity Block reservations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationStatuses
CapacityBlockStatus.Builder capacityReservationStatuses(Consumer<CapacityReservationStatus.Builder>... capacityReservationStatuses)
The availability of capacity for the Capacity Block reservations.
This is a convenience method that creates an instance of theCapacityReservationStatus.Builderavoiding the need to create one manually viaCapacityReservationStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#capacityReservationStatuses(List.) - Parameters:
capacityReservationStatuses- a consumer that will call methods onCapacityReservationStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#capacityReservationStatuses(java.util.Collection)
-
-