@Generated(value="software.amazon.awssdk:codegen") public final class ListSessionsRequest extends AthenaRequest implements ToCopyableBuilder<ListSessionsRequest.Builder,ListSessionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListSessionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListSessionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of sessions to return.
|
String |
nextToken()
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListSessionsRequest.Builder> |
serializableBuilderClass() |
SessionState |
stateFilter()
A filter for a specific session state.
|
String |
stateFilterAsString()
A filter for a specific session state.
|
ListSessionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workGroup()
The workgroup to which the session belongs.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workGroup()
The workgroup to which the session belongs.
public final SessionState stateFilter()
A filter for a specific session state. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
If the service returns an enum value that is not available in the current SDK version, stateFilter will
return SessionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateFilterAsString().
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
SessionStatepublic final String stateFilterAsString()
A filter for a specific session state. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
If the service returns an enum value that is not available in the current SDK version, stateFilter will
return SessionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateFilterAsString().
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
SessionStatepublic final Integer maxResults()
The maximum number of sessions to return.
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.
NextToken from the response
object of the previous page call.public ListSessionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListSessionsRequest.Builder,ListSessionsRequest>toBuilder in class AthenaRequestpublic static ListSessionsRequest.Builder builder()
public static Class<? extends ListSessionsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.