Interface ListSessionsResponse.Builder

    • Method Detail

      • nextToken

        ListSessionsResponse.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.
      • sessions

        ListSessionsResponse.Builder sessions​(SessionSummary... sessions)

        A list of sessions.

        Parameters:
        sessions - A list of sessions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.