@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()
An array of summary information for one or more data source connector.
|
String |
getNextToken()
If the response is truncated, Amazon Q Business returns this token.
|
int |
hashCode() |
void |
setDataSources(Collection<DataSource> dataSources)
An array of summary information for one or more data source connector.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token.
|
String |
toString()
Returns a string representation of this object.
|
ListDataSourcesResult |
withDataSources(Collection<DataSource> dataSources)
An array of summary information for one or more data source connector.
|
ListDataSourcesResult |
withDataSources(DataSource... dataSources)
An array of summary information for one or more data source connector.
|
ListDataSourcesResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DataSource> getDataSources()
An array of summary information for one or more data source connector.
public void setDataSources(Collection<DataSource> dataSources)
An array of summary information for one or more data source connector.
dataSources - An array of summary information for one or more data source connector.public ListDataSourcesResult withDataSources(DataSource... dataSources)
An array of summary information for one or more data source connector.
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 - An array of summary information for one or more data source connector.public ListDataSourcesResult withDataSources(Collection<DataSource> dataSources)
An array of summary information for one or more data source connector.
dataSources - An array of summary information for one or more data source connector.public void setNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of data source connectors.
nextToken - If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent
request to retrieve the next set of data source connectors.public String getNextToken()
If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of data source connectors.
public ListDataSourcesResult withNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of data source connectors.
nextToken - If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent
request to retrieve the next set of data source connectors.public String toString()
toString in class ObjectObject.toString()public ListDataSourcesResult clone()