Interface ListExecutorsResponse.Builder

All Superinterfaces:
AthenaResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<ListExecutorsResponse.Builder,ListExecutorsResponse>, SdkBuilder<ListExecutorsResponse.Builder,ListExecutorsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListExecutorsResponse

  • Method Details

    • sessionId

      ListExecutorsResponse.Builder sessionId(String sessionId)

      The session ID.

      Parameters:
      sessionId - The session ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListExecutorsResponse.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.
    • executorsSummary

      ListExecutorsResponse.Builder executorsSummary(Collection<ExecutorsSummary> executorsSummary)

      Contains summary information about the executor.

      Parameters:
      executorsSummary - Contains summary information about the executor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executorsSummary

      ListExecutorsResponse.Builder executorsSummary(ExecutorsSummary... executorsSummary)

      Contains summary information about the executor.

      Parameters:
      executorsSummary - Contains summary information about the executor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executorsSummary

      ListExecutorsResponse.Builder executorsSummary(Consumer<ExecutorsSummary.Builder>... executorsSummary)

      Contains summary information about the executor.

      This is a convenience method that creates an instance of the ExecutorsSummary.Builder avoiding the need to create one manually via ExecutorsSummary.builder().

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

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