@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDataSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListDataSourcesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListDataSourcesResult |
clone() |
boolean |
equals(Object obj) |
List<DataSourceSummary> |
getItems()
The results of the
ListDataSources action. |
String |
getNextToken()
When the number of data sources is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of data sources, the
response includes a pagination token named NextToken. |
int |
hashCode() |
void |
setItems(Collection<DataSourceSummary> items)
The results of the
ListDataSources action. |
void |
setNextToken(String nextToken)
When the number of data sources is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of data sources, the
response includes a pagination token named NextToken. |
String |
toString()
Returns a string representation of this object.
|
ListDataSourcesResult |
withItems(Collection<DataSourceSummary> items)
The results of the
ListDataSources action. |
ListDataSourcesResult |
withItems(DataSourceSummary... items)
The results of the
ListDataSources action. |
ListDataSourcesResult |
withNextToken(String nextToken)
When the number of data sources is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of data sources, the
response includes a pagination token named NextToken. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DataSourceSummary> getItems()
The results of the ListDataSources action.
ListDataSources action.public void setItems(Collection<DataSourceSummary> items)
The results of the ListDataSources action.
items - The results of the ListDataSources action.public ListDataSourcesResult withItems(DataSourceSummary... items)
The results of the ListDataSources action.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - The results of the ListDataSources action.public ListDataSourcesResult withItems(Collection<DataSourceSummary> items)
The results of the ListDataSources action.
items - The results of the ListDataSources action.public void setNextToken(String nextToken)
When the number of data sources is greater than the default value for the MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of data sources, the
response includes a pagination token named NextToken. You can specify this NextToken
value in a subsequent call to ListDataSources to list the next set of data sources.
nextToken - When the number of data sources is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of data sources, the response includes a pagination token named NextToken. You can specify
this NextToken value in a subsequent call to ListDataSources to list the next
set of data sources.public String getNextToken()
When the number of data sources is greater than the default value for the MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of data sources, the
response includes a pagination token named NextToken. You can specify this NextToken
value in a subsequent call to ListDataSources to list the next set of data sources.
MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of data sources, the response includes a pagination token named NextToken. You can specify
this NextToken value in a subsequent call to ListDataSources to list the next
set of data sources.public ListDataSourcesResult withNextToken(String nextToken)
When the number of data sources is greater than the default value for the MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of data sources, the
response includes a pagination token named NextToken. You can specify this NextToken
value in a subsequent call to ListDataSources to list the next set of data sources.
nextToken - When the number of data sources is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of data sources, the response includes a pagination token named NextToken. You can specify
this NextToken value in a subsequent call to ListDataSources to list the next
set of data sources.public String toString()
toString in class ObjectObject.toString()public ListDataSourcesResult clone()