Interface ListExecutorsRequest.Builder

    • Method Detail

      • sessionId

        ListExecutorsRequest.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.
      • executorStateFilter

        ListExecutorsRequest.Builder executorStateFilter​(String executorStateFilter)

        A filter for a specific executor state. A description of each state follows.

        CREATING - The executor is being started, including acquiring resources.

        CREATED - The executor has been started.

        REGISTERED - The executor has been registered.

        TERMINATING - The executor is in the process of shutting down.

        TERMINATED - The executor is no longer running.

        FAILED - Due to a failure, the executor is no longer running.

        Parameters:
        executorStateFilter - A filter for a specific executor state. A description of each state follows.

        CREATING - The executor is being started, including acquiring resources.

        CREATED - The executor has been started.

        REGISTERED - The executor has been registered.

        TERMINATING - The executor is in the process of shutting down.

        TERMINATED - The executor is no longer running.

        FAILED - Due to a failure, the executor is no longer running.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecutorState, ExecutorState
      • executorStateFilter

        ListExecutorsRequest.Builder executorStateFilter​(ExecutorState executorStateFilter)

        A filter for a specific executor state. A description of each state follows.

        CREATING - The executor is being started, including acquiring resources.

        CREATED - The executor has been started.

        REGISTERED - The executor has been registered.

        TERMINATING - The executor is in the process of shutting down.

        TERMINATED - The executor is no longer running.

        FAILED - Due to a failure, the executor is no longer running.

        Parameters:
        executorStateFilter - A filter for a specific executor state. A description of each state follows.

        CREATING - The executor is being started, including acquiring resources.

        CREATED - The executor has been started.

        REGISTERED - The executor has been registered.

        TERMINATING - The executor is in the process of shutting down.

        TERMINATED - The executor is no longer running.

        FAILED - Due to a failure, the executor is no longer running.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecutorState, ExecutorState
      • maxResults

        ListExecutorsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of executors to return.

        Parameters:
        maxResults - The maximum number of executors to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListExecutorsRequest.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.