Interface ListSessionsRequest.Builder
-
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ListSessionsRequest.Builder,ListSessionsRequest>,SdkBuilder<ListSessionsRequest.Builder,ListSessionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListSessionsRequest
public static interface ListSessionsRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<ListSessionsRequest.Builder,ListSessionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSessionsRequest.BuildermaxResults(Integer maxResults)The maximum number of sessions to return.ListSessionsRequest.BuildernextToken(String nextToken)A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.ListSessionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListSessionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListSessionsRequest.BuilderstateFilter(String stateFilter)A filter for a specific session state.ListSessionsRequest.BuilderstateFilter(SessionState stateFilter)A filter for a specific session state.ListSessionsRequest.BuilderworkGroup(String workGroup)The workgroup to which the session belongs.-
Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
workGroup
ListSessionsRequest.Builder workGroup(String workGroup)
The workgroup to which the session belongs.
- Parameters:
workGroup- The workgroup to which the session belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateFilter
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SessionState,SessionState
-
stateFilter
ListSessionsRequest.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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SessionState,SessionState
-
maxResults
ListSessionsRequest.Builder maxResults(Integer maxResults)
The maximum number of sessions to return.
- Parameters:
maxResults- The maximum number of sessions to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
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
NextTokenfrom 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 theNextTokenfrom the response object of the previous page call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-