@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNotebookInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNotebookInstancesResult() |
Modifier and Type | Method and Description |
---|---|
ListNotebookInstancesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the response to the previous
ListNotebookInstances request was truncated, Amazon SageMaker
returns this token. |
List<NotebookInstanceSummary> |
getNotebookInstances()
An array of
NotebookInstanceSummary objects, one for each notebook instance. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response to the previous
ListNotebookInstances request was truncated, Amazon SageMaker
returns this token. |
void |
setNotebookInstances(Collection<NotebookInstanceSummary> notebookInstances)
An array of
NotebookInstanceSummary objects, one for each notebook instance. |
String |
toString()
Returns a string representation of this object.
|
ListNotebookInstancesResult |
withNextToken(String nextToken)
If the response to the previous
ListNotebookInstances request was truncated, Amazon SageMaker
returns this token. |
ListNotebookInstancesResult |
withNotebookInstances(Collection<NotebookInstanceSummary> notebookInstances)
An array of
NotebookInstanceSummary objects, one for each notebook instance. |
ListNotebookInstancesResult |
withNotebookInstances(NotebookInstanceSummary... notebookInstances)
An array of
NotebookInstanceSummary objects, one for each notebook instance. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If the response to the previous ListNotebookInstances
request was truncated, Amazon SageMaker
returns this token. To retrieve the next set of notebook instances, use the token in the next request.
nextToken
- If the response to the previous ListNotebookInstances
request was truncated, Amazon SageMaker
returns this token. To retrieve the next set of notebook instances, use the token in the next request.public String getNextToken()
If the response to the previous ListNotebookInstances
request was truncated, Amazon SageMaker
returns this token. To retrieve the next set of notebook instances, use the token in the next request.
ListNotebookInstances
request was truncated, Amazon
SageMaker returns this token. To retrieve the next set of notebook instances, use the token in the next
request.public ListNotebookInstancesResult withNextToken(String nextToken)
If the response to the previous ListNotebookInstances
request was truncated, Amazon SageMaker
returns this token. To retrieve the next set of notebook instances, use the token in the next request.
nextToken
- If the response to the previous ListNotebookInstances
request was truncated, Amazon SageMaker
returns this token. To retrieve the next set of notebook instances, use the token in the next request.public List<NotebookInstanceSummary> getNotebookInstances()
An array of NotebookInstanceSummary
objects, one for each notebook instance.
NotebookInstanceSummary
objects, one for each notebook instance.public void setNotebookInstances(Collection<NotebookInstanceSummary> notebookInstances)
An array of NotebookInstanceSummary
objects, one for each notebook instance.
notebookInstances
- An array of NotebookInstanceSummary
objects, one for each notebook instance.public ListNotebookInstancesResult withNotebookInstances(NotebookInstanceSummary... notebookInstances)
An array of NotebookInstanceSummary
objects, one for each notebook instance.
NOTE: This method appends the values to the existing list (if any). Use
setNotebookInstances(java.util.Collection)
or withNotebookInstances(java.util.Collection)
if
you want to override the existing values.
notebookInstances
- An array of NotebookInstanceSummary
objects, one for each notebook instance.public ListNotebookInstancesResult withNotebookInstances(Collection<NotebookInstanceSummary> notebookInstances)
An array of NotebookInstanceSummary
objects, one for each notebook instance.
notebookInstances
- An array of NotebookInstanceSummary
objects, one for each notebook instance.public String toString()
toString
in class Object
Object.toString()
public ListNotebookInstancesResult clone()