Interface CapacityBlockStatus.Builder

  • Method Details

    • 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:

      • 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

      CapacityBlockStatus.Builder interconnectStatus(CapacityBlockInterconnectStatus 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

      CapacityBlockStatus.Builder totalCapacity(Integer totalCapacity)

      The combined amount of Available and Unavailable capacity in the Capacity Block.

      Parameters:
      totalCapacity - The combined amount of Available and Unavailable capacity 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 the CapacityReservationStatus.Builder avoiding the need to create one manually via CapacityReservationStatus.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to capacityReservationStatuses(List<CapacityReservationStatus>).

      Parameters:
      capacityReservationStatuses - a consumer that will call methods on CapacityReservationStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: