Class DescribeDataSourcesResult

java.lang.Object
com.amazonaws.services.machinelearning.model.DescribeDataSourcesResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeDataSourcesResult extends Object implements Serializable, Cloneable

Represents the query results from a DescribeDataSources operation. The content is essentially a list of DataSource.

See Also:
  • Constructor Details

    • DescribeDataSourcesResult

      public DescribeDataSourcesResult()
  • Method Details

    • getResults

      public List<DataSource> getResults()

      A list of DataSource that meet the search criteria.

      Returns:
      A list of DataSource that meet the search criteria.
    • setResults

      public void setResults(Collection<DataSource> results)

      A list of DataSource that meet the search criteria.

      Parameters:
      results - A list of DataSource that meet the search criteria.
    • withResults

      public DescribeDataSourcesResult withResults(DataSource... results)

      A list of DataSource 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 DataSource that meet the search criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withResults

      public DescribeDataSourcesResult withResults(Collection<DataSource> results)

      A list of DataSource that meet the search criteria.

      Parameters:
      results - A list of DataSource 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)

      An ID of the next page in the paginated results that indicates at least one more page follows.

      Parameters:
      nextToken - An ID of the next page in the paginated results that indicates at least one more page follows.
    • getNextToken

      public String getNextToken()

      An ID of the next page in the paginated results that indicates at least one more page follows.

      Returns:
      An ID of the next page in the paginated results that indicates at least one more page follows.
    • withNextToken

      public DescribeDataSourcesResult withNextToken(String nextToken)

      An ID of the next page in the paginated results that indicates at least one more page follows.

      Parameters:
      nextToken - An 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

      public DescribeDataSourcesResult clone()
      Overrides:
      clone in class Object