public class DescribeMLModelsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeMLModels operation. The content is
essentially a list of MLModel
.
Constructor and Description |
---|
DescribeMLModelsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeMLModelsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The ID of the next page in the paginated results that indicates at
least one more page follows.
|
List<MLModel> |
getResults()
A list of MLModel that meet the search criteria.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The ID of the next page in the paginated results that indicates at
least one more page follows.
|
void |
setResults(Collection<MLModel> results)
A list of MLModel that meet the search criteria.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeMLModelsResult |
withNextToken(String nextToken)
The ID of the next page in the paginated results that indicates at
least one more page follows.
|
DescribeMLModelsResult |
withResults(Collection<MLModel> results)
A list of MLModel that meet the search criteria.
|
DescribeMLModelsResult |
withResults(MLModel... results)
A list of MLModel that meet the search criteria.
|
public List<MLModel> getResults()
public void setResults(Collection<MLModel> results)
results
- A list of MLModel that meet the search criteria.public DescribeMLModelsResult withResults(MLModel... results)
NOTE: This method appends the values to the existing list (if
any). Use setResults(java.util.Collection)
or withResults(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
results
- A list of MLModel that meet the search criteria.public DescribeMLModelsResult withResults(Collection<MLModel> results)
Returns a reference to this object so that method calls can be chained together.
results
- A list of MLModel that meet the search criteria.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The ID of the next page in the paginated results that indicates at
least one more page follows.public DescribeMLModelsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- The ID of the next page in the paginated results that indicates at
least one more page follows.public String toString()
toString
in class Object
Object.toString()
public DescribeMLModelsResult clone()
Copyright © 2015. All rights reserved.