public class DescribeDataSourcesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the query results from a DescribeDataSources operation. The
content is essentially a list of DataSource
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
An ID of the next page in the paginated results that indicates at least
one more page follows.
|
private SdkInternalList<DataSource> |
results
A list of
DataSource that meet the search criteria. |
Constructor and Description |
---|
DescribeDataSourcesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDataSourcesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
An ID of the next page in the paginated results that indicates at least
one more page follows.
|
java.util.List<DataSource> |
getResults()
A list of
DataSource that meet the search criteria. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
An ID of the next page in the paginated results that indicates at least
one more page follows.
|
void |
setResults(java.util.Collection<DataSource> results)
A list of
DataSource that meet the search criteria. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDataSourcesResult |
withNextToken(java.lang.String nextToken)
An ID of the next page in the paginated results that indicates at least
one more page follows.
|
DescribeDataSourcesResult |
withResults(java.util.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. |
private SdkInternalList<DataSource> results
A list of DataSource
that meet the search criteria.
private java.lang.String nextToken
An ID of the next page in the paginated results that indicates at least one more page follows.
public java.util.List<DataSource> getResults()
A list of DataSource
that meet the search criteria.
DataSource
that meet the search criteria.public void setResults(java.util.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(java.util.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(java.lang.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 java.lang.String getNextToken()
An ID of the next page in the paginated results that indicates at least one more page follows.
public DescribeDataSourcesResult withNextToken(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeDataSourcesResult clone()
clone
in class java.lang.Object