@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNotebookSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| ListNotebookSessionsRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListNotebookSessionsRequest | 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 notebook 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 | getNotebookId()
 The ID of the notebook to list sessions for. | 
| int | hashCode() | 
| void | setMaxResults(Integer maxResults)
 The maximum number of notebook 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 | setNotebookId(String notebookId)
 The ID of the notebook to list sessions for. | 
| String | toString()Returns a string representation of this object. | 
| ListNotebookSessionsRequest | withMaxResults(Integer maxResults)
 The maximum number of notebook sessions to return. | 
| ListNotebookSessionsRequest | withNextToken(String nextToken)
 A token generated by the Athena service that specifies where to continue pagination if a previous request was
 truncated. | 
| ListNotebookSessionsRequest | withNotebookId(String notebookId)
 The ID of the notebook to list sessions for. | 
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 setNotebookId(String notebookId)
The ID of the notebook to list sessions for.
notebookId - The ID of the notebook to list sessions for.public String getNotebookId()
The ID of the notebook to list sessions for.
public ListNotebookSessionsRequest withNotebookId(String notebookId)
The ID of the notebook to list sessions for.
notebookId - The ID of the notebook to list sessions for.public void setMaxResults(Integer maxResults)
The maximum number of notebook sessions to return.
maxResults - The maximum number of notebook sessions to return.public Integer getMaxResults()
The maximum number of notebook sessions to return.
public ListNotebookSessionsRequest withMaxResults(Integer maxResults)
The maximum number of notebook sessions to return.
maxResults - The maximum number of notebook 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 ListNotebookSessionsRequest 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 ListNotebookSessionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()