@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListModelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ListModelsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListModelsResult | clone() | 
| boolean | equals(Object obj) | 
| List<ModelSummary> | getModels()
 An array of  ModelSummaryobjects, each of which lists a model. | 
| String | getNextToken()
 If the response is truncated, Amazon SageMaker returns this token. | 
| int | hashCode() | 
| void | setModels(Collection<ModelSummary> models)
 An array of  ModelSummaryobjects, each of which lists a model. | 
| void | setNextToken(String nextToken)
 If the response is truncated, Amazon SageMaker returns this token. | 
| String | toString()Returns a string representation of this object. | 
| ListModelsResult | withModels(Collection<ModelSummary> models)
 An array of  ModelSummaryobjects, each of which lists a model. | 
| ListModelsResult | withModels(ModelSummary... models)
 An array of  ModelSummaryobjects, each of which lists a model. | 
| ListModelsResult | withNextToken(String nextToken)
 If the response is truncated, Amazon SageMaker returns this token. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ModelSummary> getModels()
 An array of ModelSummary objects, each of which lists a model.
 
ModelSummary objects, each of which lists a model.public void setModels(Collection<ModelSummary> models)
 An array of ModelSummary objects, each of which lists a model.
 
models - An array of ModelSummary objects, each of which lists a model.public ListModelsResult withModels(ModelSummary... models)
 An array of ModelSummary objects, each of which lists a model.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setModels(java.util.Collection) or withModels(java.util.Collection) if you want to override the
 existing values.
 
models - An array of ModelSummary objects, each of which lists a model.public ListModelsResult withModels(Collection<ModelSummary> models)
 An array of ModelSummary objects, each of which lists a model.
 
models - An array of ModelSummary objects, each of which lists a model.public void setNextToken(String nextToken)
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of models, use it in the subsequent request.
nextToken - If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of models, use
        it in the subsequent request.public String getNextToken()
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of models, use it in the subsequent request.
public ListModelsResult withNextToken(String nextToken)
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of models, use it in the subsequent request.
nextToken - If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of models, use
        it in the subsequent request.public String toString()
toString in class ObjectObject.toString()public ListModelsResult clone()