public class DescribeBatchPredictionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a DescribeBatchPredictions operation. The
content is essentially a list of BatchPrediction
s.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The ID of the next page in the paginated results that indicates at least
one more page follows.
|
private SdkInternalList<BatchPrediction> |
results
A list of BatchPrediction objects that meet the search criteria.
|
Constructor and Description |
---|
DescribeBatchPredictionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBatchPredictionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The ID of the next page in the paginated results that indicates at least
one more page follows.
|
java.util.List<BatchPrediction> |
getResults()
A list of BatchPrediction objects that meet the search criteria.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The ID of the next page in the paginated results that indicates at least
one more page follows.
|
void |
setResults(java.util.Collection<BatchPrediction> results)
A list of BatchPrediction objects that meet the search criteria.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeBatchPredictionsResult |
withNextToken(java.lang.String nextToken)
The ID of the next page in the paginated results that indicates at least
one more page follows.
|
DescribeBatchPredictionsResult |
withResults(BatchPrediction... results)
A list of BatchPrediction objects that meet the search criteria.
|
DescribeBatchPredictionsResult |
withResults(java.util.Collection<BatchPrediction> results)
A list of BatchPrediction objects that meet the search criteria.
|
private SdkInternalList<BatchPrediction> results
A list of BatchPrediction objects that meet the search criteria.
private java.lang.String nextToken
The ID of the next page in the paginated results that indicates at least one more page follows.
public java.util.List<BatchPrediction> getResults()
A list of BatchPrediction objects that meet the search criteria.
public void setResults(java.util.Collection<BatchPrediction> results)
A list of BatchPrediction objects that meet the search criteria.
results
- A list of BatchPrediction objects that meet the search
criteria.public DescribeBatchPredictionsResult withResults(BatchPrediction... results)
A list of BatchPrediction objects that meet the search criteria.
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.
results
- A list of BatchPrediction objects that meet the search
criteria.public DescribeBatchPredictionsResult withResults(java.util.Collection<BatchPrediction> results)
A list of BatchPrediction objects that meet the search criteria.
results
- A list of BatchPrediction objects that meet the search
criteria.public void setNextToken(java.lang.String nextToken)
The ID of the next page in the paginated results that indicates at least one more page follows.
nextToken
- The ID of the next page in the paginated results that indicates at
least one more page follows.public java.lang.String getNextToken()
The ID of the next page in the paginated results that indicates at least one more page follows.
public DescribeBatchPredictionsResult withNextToken(java.lang.String nextToken)
The ID of the next page in the paginated results that indicates at least one more page follows.
nextToken
- The ID of the next page in the paginated results that indicates at
least one more page follows.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeBatchPredictionsResult clone()
clone
in class java.lang.Object