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:
  • Constructor Details

    • DescribeBatchPredictionsResult

      public DescribeBatchPredictionsResult()
  • Method Details

    • 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) or withResults(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

      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object