public static interface ListSessionsRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<ListSessionsRequest.Builder,ListSessionsRequest>
| Modifier and Type | Method and Description |
|---|---|
ListSessionsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of sessions to return.
|
ListSessionsRequest.Builder |
nextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
ListSessionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListSessionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListSessionsRequest.Builder |
stateFilter(SessionState stateFilter)
A filter for a specific session state.
|
ListSessionsRequest.Builder |
stateFilter(String stateFilter)
A filter for a specific session state.
|
ListSessionsRequest.Builder |
workGroup(String workGroup)
The workgroup to which the session belongs.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListSessionsRequest.Builder workGroup(String workGroup)
The workgroup to which the session belongs.
workGroup - The workgroup to which the session belongs.ListSessionsRequest.Builder stateFilter(String 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.
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.
SessionState,
SessionStateListSessionsRequest.Builder stateFilter(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.
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.
SessionState,
SessionStateListSessionsRequest.Builder maxResults(Integer maxResults)
The maximum number of sessions to return.
maxResults - The maximum number of sessions to return.ListSessionsRequest.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.
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.ListSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.