public class DescribeDataSourcesResult extends Object implements Serializable, Cloneable
 Represents the query results from a DescribeDataSources operation. The
 content is essentially a list of DataSource .
 
| Constructor and Description | 
|---|
| DescribeDataSourcesResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribeDataSourcesResult | clone() | 
| boolean | equals(Object obj) | 
| String | getNextToken()An ID of the next page in the paginated results that indicates at
 least one more page follows. | 
| List<DataSource> | getResults()A list of  DataSourcethat meet the search criteria. | 
| int | hashCode() | 
| void | setNextToken(String nextToken)An ID of the next page in the paginated results that indicates at
 least one more page follows. | 
| void | setResults(Collection<DataSource> results)A list of  DataSourcethat meet the search criteria. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| DescribeDataSourcesResult | withNextToken(String nextToken)An ID of the next page in the paginated results that indicates at
 least one more page follows. | 
| DescribeDataSourcesResult | withResults(Collection<DataSource> results)A list of  DataSourcethat meet the search criteria. | 
| DescribeDataSourcesResult | withResults(DataSource... results)A list of  DataSourcethat meet the search criteria. | 
public List<DataSource> getResults()
DataSource that meet the search criteria.DataSource that meet the search criteria.public void setResults(Collection<DataSource> results)
DataSource that meet the search criteria.results - A list of DataSource that meet the search criteria.public DescribeDataSourcesResult withResults(DataSource... results)
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.
 
Returns a reference to this object so that method calls can be chained together.
results - A list of DataSource that meet the search criteria.public DescribeDataSourcesResult withResults(Collection<DataSource> results)
DataSource that meet the search criteria.
 Returns a reference to this object so that method calls can be chained together.
results - A list of DataSource that meet the search criteria.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - An ID of the next page in the paginated results that indicates at
         least one more page follows.public DescribeDataSourcesResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - An ID of the next page in the paginated results that indicates at
         least one more page follows.public String toString()
toString in class ObjectObject.toString()public DescribeDataSourcesResult clone()
Copyright © 2015. All rights reserved.