Interface ListCapacityReservationsResponse.Builder

    • Method Detail

      • nextToken

        ListCapacityReservationsResponse.Builder nextToken​(String nextToken)

        A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

        Parameters:
        nextToken - A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityReservations

        ListCapacityReservationsResponse.Builder capacityReservations​(Collection<CapacityReservation> capacityReservations)

        The capacity reservations for the current account.

        Parameters:
        capacityReservations - The capacity reservations for the current account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityReservations

        ListCapacityReservationsResponse.Builder capacityReservations​(CapacityReservation... capacityReservations)

        The capacity reservations for the current account.

        Parameters:
        capacityReservations - The capacity reservations for the current account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.