Class DescribeBatchPredictionsResult
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.DescribeBatchPredictionsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeBatchPredictionsResult extends Object implements Serializable, Cloneable
Represents the output of a DescribeBatchPredictions operation. The content is essentially a list of
BatchPredictions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeBatchPredictionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeBatchPredictionsResultclone()booleanequals(Object obj)StringgetNextToken()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.inthashCode()voidsetNextToken(String nextToken)The ID of the next page in the paginated results that indicates at least one more page follows.voidsetResults(Collection<BatchPrediction> results)A list of BatchPrediction objects that meet the search criteria.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeBatchPredictionsResultwithNextToken(String nextToken)The ID of the next page in the paginated results that indicates at least one more page follows.DescribeBatchPredictionsResultwithResults(BatchPrediction... results)A list of BatchPrediction objects that meet the search criteria.DescribeBatchPredictionsResultwithResults(Collection<BatchPrediction> results)A list of BatchPrediction objects that meet the search criteria.
-
-
-
Method Detail
-
getResults
public List<BatchPrediction> getResults()
A list of BatchPrediction objects that meet the search criteria.
- Returns:
- A list of BatchPrediction objects that meet the search criteria.
-
setResults
public void setResults(Collection<BatchPrediction> results)
A list of BatchPrediction objects that meet the search criteria.
- Parameters:
results- A list of BatchPrediction objects that meet the search criteria.
-
withResults
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)orwithResults(java.util.Collection)if you want to override the existing values.- Parameters:
results- A list of BatchPrediction objects that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withResults
public DescribeBatchPredictionsResult withResults(Collection<BatchPrediction> results)
A list of BatchPrediction objects that meet the search criteria.
- Parameters:
results- A list of BatchPrediction objects that meet the search criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The ID of the next page in the paginated results that indicates at least one more page follows.
- Parameters:
nextToken- The ID of the next page in the paginated results that indicates at least one more page follows.
-
getNextToken
public String getNextToken()
The ID of the next page in the paginated results that indicates at least one more page follows.
- Returns:
- The ID of the next page in the paginated results that indicates at least one more page follows.
-
withNextToken
public DescribeBatchPredictionsResult withNextToken(String nextToken)
The ID of the next page in the paginated results that indicates at least one more page follows.
- Parameters:
nextToken- The ID of the next page in the paginated results that indicates at least one more page follows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeBatchPredictionsResult clone()
-
-