Interface CapacityReservationTarget.Builder

  • Method Details

    • capacityReservationIds

      CapacityReservationTarget.Builder capacityReservationIds(Collection<String> capacityReservationIds)

      The Capacity Reservation IDs to launch instances into.

      Parameters:
      capacityReservationIds - The Capacity Reservation IDs to launch instances into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityReservationIds

      CapacityReservationTarget.Builder capacityReservationIds(String... capacityReservationIds)

      The Capacity Reservation IDs to launch instances into.

      Parameters:
      capacityReservationIds - The Capacity Reservation IDs to launch instances into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityReservationResourceGroupArns

      CapacityReservationTarget.Builder capacityReservationResourceGroupArns(Collection<String> capacityReservationResourceGroupArns)

      The resource group ARNs of the Capacity Reservation to launch instances into.

      Parameters:
      capacityReservationResourceGroupArns - The resource group ARNs of the Capacity Reservation to launch instances into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityReservationResourceGroupArns

      CapacityReservationTarget.Builder capacityReservationResourceGroupArns(String... capacityReservationResourceGroupArns)

      The resource group ARNs of the Capacity Reservation to launch instances into.

      Parameters:
      capacityReservationResourceGroupArns - The resource group ARNs of the Capacity Reservation to launch instances into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.