Interface CapacityBlockStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityBlockStatus.Builder,
,CapacityBlockStatus> SdkBuilder<CapacityBlockStatus.Builder,
,CapacityBlockStatus> SdkPojo
- Enclosing class:
CapacityBlockStatus
-
Method Summary
Modifier and TypeMethodDescriptioncapacityBlockId
(String capacityBlockId) The ID of the Capacity Block.capacityReservationStatuses
(Collection<CapacityReservationStatus> capacityReservationStatuses) The availability of capacity for the Capacity Block reservations.capacityReservationStatuses
(Consumer<CapacityReservationStatus.Builder>... capacityReservationStatuses) The availability of capacity for the Capacity Block reservations.capacityReservationStatuses
(CapacityReservationStatus... capacityReservationStatuses) The availability of capacity for the Capacity Block reservations.interconnectStatus
(String interconnectStatus) The status of the high-bandwidth accelerator interconnect.interconnectStatus
(CapacityBlockInterconnectStatus interconnectStatus) The status of the high-bandwidth accelerator interconnect.totalAvailableCapacity
(Integer totalAvailableCapacity) The remaining capacity.totalCapacity
(Integer totalCapacity) The combined amount ofAvailable
andUnavailable
capacity in the Capacity Block.totalUnavailableCapacity
(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 Details
-
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
The status of the high-bandwidth accelerator interconnect. Possible states include:
-
ok
the 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:-
ok
the 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:
-
-
interconnectStatus
The status of the high-bandwidth accelerator interconnect. Possible states include:
-
ok
the 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:-
ok
the 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:
-
-
totalCapacity
The combined amount of
Available
andUnavailable
capacity in the Capacity Block.- Parameters:
totalCapacity
- The combined amount ofAvailable
andUnavailable
capacity in the Capacity Block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.Builder
avoiding the need to create one manually viaCapacityReservationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityReservationStatuses(List<CapacityReservationStatus>)
.- 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:
-