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
DataSource that 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
DataSource that 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
DataSource that meet the search criteria. |
DescribeDataSourcesResult |
withResults(DataSource... results)
A list of
DataSource that meet the search criteria. |
public List<DataSource> getResults()
A list of DataSource
that meet the search criteria.
DataSource
that meet the search criteria.public void setResults(Collection<DataSource> results)
A list of DataSource
that meet the search criteria.
results
- A list of DataSource
that meet the search criteria.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.
results
- A list of DataSource
that meet the search criteria.public DescribeDataSourcesResult withResults(Collection<DataSource> results)
A list of DataSource
that meet the search criteria.
results
- A list of DataSource
that meet the search criteria.public void setNextToken(String nextToken)
An ID of the next page in the paginated results that indicates at least one more page follows.
nextToken
- An ID of the next page in the paginated results that indicates at
least one more page follows.public String getNextToken()
An ID of the next page in the paginated results that indicates at least one more page follows.
public DescribeDataSourcesResult withNextToken(String nextToken)
An ID of the next page in the paginated results that indicates at least one more page follows.
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 Object
Object.toString()
public DescribeDataSourcesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.