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
BatchPrediction
s.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeBatchPredictionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeBatchPredictionsResult clone()
-
-