@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDataSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of a ListDataSources
operation.
Constructor and Description |
---|
ListDataSourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListDataSourcesResult |
clone() |
boolean |
equals(Object obj) |
List<DataSourceDetails> |
getDataSources()
A list of data sources associated with specified domain.
|
int |
hashCode() |
void |
setDataSources(Collection<DataSourceDetails> dataSources)
A list of data sources associated with specified domain.
|
String |
toString()
Returns a string representation of this object.
|
ListDataSourcesResult |
withDataSources(Collection<DataSourceDetails> dataSources)
A list of data sources associated with specified domain.
|
ListDataSourcesResult |
withDataSources(DataSourceDetails... dataSources)
A list of data sources associated with specified domain.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataSourceDetails> getDataSources()
A list of data sources associated with specified domain.
public void setDataSources(Collection<DataSourceDetails> dataSources)
A list of data sources associated with specified domain.
dataSources
- A list of data sources associated with specified domain.public ListDataSourcesResult withDataSources(DataSourceDetails... dataSources)
A list of data sources associated with specified domain.
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
- A list of data sources associated with specified domain.public ListDataSourcesResult withDataSources(Collection<DataSourceDetails> dataSources)
A list of data sources associated with specified domain.
dataSources
- A list of data sources associated with specified domain.public String toString()
toString
in class Object
Object.toString()
public ListDataSourcesResult clone()