@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<DataSource> |
getDataSources()
The
DataSource objects. |
String |
getNextToken()
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
int |
hashCode() |
void |
setDataSources(Collection<DataSource> dataSources)
The
DataSource objects. |
void |
setNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
String |
toString()
Returns a string representation of this object.
|
ListDataSourcesResult |
withDataSources(Collection<DataSource> dataSources)
The
DataSource objects. |
ListDataSourcesResult |
withDataSources(DataSource... dataSources)
The
DataSource objects. |
ListDataSourcesResult |
withNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DataSource> getDataSources()
The DataSource objects.
DataSource objects.public void setDataSources(Collection<DataSource> dataSources)
The DataSource objects.
dataSources - The DataSource objects.public ListDataSourcesResult withDataSources(DataSource... dataSources)
The DataSource objects.
NOTE: This method appends the values to the existing list (if any). Use
setDataSources(java.util.Collection) or withDataSources(java.util.Collection) if you want to
override the existing values.
dataSources - The DataSource objects.public ListDataSourcesResult withDataSources(Collection<DataSource> dataSources)
The DataSource objects.
dataSources - The DataSource objects.public void setNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
nextToken - An identifier to pass in the next request to this operation to return the next set of items in the list.public String getNextToken()
An identifier to pass in the next request to this operation to return the next set of items in the list.
public ListDataSourcesResult withNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
nextToken - An identifier to pass in the next request to this operation to return the next set of items in the list.public String toString()
toString in class ObjectObject.toString()public ListDataSourcesResult clone()