@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBatchPredictionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a DescribeBatchPredictions
operation. The content is essentially a list of
BatchPrediction
s.
Constructor and Description |
---|
DescribeBatchPredictionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBatchPredictionsResult |
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<BatchPrediction> |
getResults()
A list of
BatchPrediction objects 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<BatchPrediction> results)
A list of
BatchPrediction objects that meet the search criteria. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeBatchPredictionsResult |
withNextToken(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(Collection<BatchPrediction> results)
A list of
BatchPrediction objects that meet the search criteria. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchPrediction> getResults()
A list of BatchPrediction
objects that meet the search criteria.
BatchPrediction
objects that meet the search criteria.public void setResults(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(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(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 String getNextToken()
The ID of the next page in the paginated results that indicates at least one more page follows.
public DescribeBatchPredictionsResult withNextToken(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 String toString()
toString
in class Object
Object.toString()
public DescribeBatchPredictionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.