@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListSessionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListSessionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of sessions to return.
|
String |
getNextToken()
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
String |
getStateFilter()
A filter for a specific session state.
|
String |
getWorkGroup()
The workgroup to which the session belongs.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of sessions to return.
|
void |
setNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
void |
setStateFilter(String stateFilter)
A filter for a specific session state.
|
void |
setWorkGroup(String workGroup)
The workgroup to which the session belongs.
|
String |
toString()
Returns a string representation of this object.
|
ListSessionsRequest |
withMaxResults(Integer maxResults)
The maximum number of sessions to return.
|
ListSessionsRequest |
withNextToken(String nextToken)
A token generated by the Athena service that specifies where to continue pagination if a previous request was
truncated.
|
ListSessionsRequest |
withStateFilter(SessionState stateFilter)
A filter for a specific session state.
|
ListSessionsRequest |
withStateFilter(String stateFilter)
A filter for a specific session state.
|
ListSessionsRequest |
withWorkGroup(String workGroup)
The workgroup to which the session belongs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setWorkGroup(String workGroup)
The workgroup to which the session belongs.
workGroup - The workgroup to which the session belongs.public String getWorkGroup()
The workgroup to which the session belongs.
public ListSessionsRequest withWorkGroup(String workGroup)
The workgroup to which the session belongs.
workGroup - The workgroup to which the session belongs.public void setStateFilter(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.
SessionStatepublic String getStateFilter()
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.
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 ListSessionsRequest withStateFilter(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.
SessionStatepublic ListSessionsRequest withStateFilter(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.
SessionStatepublic void setMaxResults(Integer maxResults)
The maximum number of sessions to return.
maxResults - The maximum number of sessions to return.public Integer getMaxResults()
The maximum number of sessions to return.
public ListSessionsRequest withMaxResults(Integer maxResults)
The maximum number of sessions to return.
maxResults - The maximum number of sessions to return.public void setNextToken(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.public String getNextToken()
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 withNextToken(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.public String toString()
toString in class ObjectObject.toString()public ListSessionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()