Class ListExecutorsRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListExecutorsRequest.Builder,ListExecutorsRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListExecutorsRequest extends AthenaRequest implements ToCopyableBuilder<ListExecutorsRequest.Builder,ListExecutorsRequest>
  • Method Details

    • sessionId

      public final String sessionId()

      The session ID.

      Returns:
      The session ID.
    • executorStateFilter

      public final 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.

      If the service returns an enum value that is not available in the current SDK version, executorStateFilter will return ExecutorState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from executorStateFilterAsString().

      Returns:
      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.

      See Also:
    • executorStateFilterAsString

      public final String executorStateFilterAsString()

      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.

      If the service returns an enum value that is not available in the current SDK version, executorStateFilter will return ExecutorState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from executorStateFilterAsString().

      Returns:
      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.

      See Also:
    • maxResults

      public final Integer maxResults()

      The maximum number of executors to return.

      Returns:
      The maximum number of executors to return.
    • nextToken

      public final 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.

      Returns:
      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.
    • toBuilder

      public ListExecutorsRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<ListExecutorsRequest.Builder,ListExecutorsRequest>
      Specified by:
      toBuilder in class AthenaRequest
    • builder

      public static ListExecutorsRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListExecutorsRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo