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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDataSourcesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDataSourcesResultclone()booleanequals(Object obj)StringgetNextToken()An ID of the next page in the paginated results that indicates at least one more page follows.List<DataSource>getResults()A list ofDataSourcethat meet the search criteria.inthashCode()voidsetNextToken(String nextToken)An ID of the next page in the paginated results that indicates at least one more page follows.voidsetResults(Collection<DataSource> results)A list ofDataSourcethat meet the search criteria.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeDataSourcesResultwithNextToken(String nextToken)An ID of the next page in the paginated results that indicates at least one more page follows.DescribeDataSourcesResultwithResults(DataSource... results)A list ofDataSourcethat meet the search criteria.DescribeDataSourcesResultwithResults(Collection<DataSource> results)A list ofDataSourcethat meet the search criteria.
-
-
-
Method Detail
-
getResults
public List<DataSource> getResults()
A list of
DataSourcethat meet the search criteria.- Returns:
- A list of
DataSourcethat meet the search criteria.
-
setResults
public void setResults(Collection<DataSource> results)
A list of
DataSourcethat meet the search criteria.- Parameters:
results- A list ofDataSourcethat meet the search criteria.
-
withResults
public DescribeDataSourcesResult withResults(DataSource... results)
A list of
DataSourcethat 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 ofDataSourcethat 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
DataSourcethat meet the search criteria.- Parameters:
results- A list ofDataSourcethat 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDataSourcesResult clone()
-
-