@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) |
String |
getNextToken()
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of data source connectors.
|
List<DataSourceSummary> |
getSummaryItems()
An array of summary information for one or more data source connector.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of data source connectors.
|
void |
setSummaryItems(Collection<DataSourceSummary> summaryItems)
An array of summary information for one or more data source connector.
|
String |
toString()
Returns a string representation of this object.
|
ListDataSourcesResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of data source connectors.
|
ListDataSourcesResult |
withSummaryItems(Collection<DataSourceSummary> summaryItems)
An array of summary information for one or more data source connector.
|
ListDataSourcesResult |
withSummaryItems(DataSourceSummary... summaryItems)
An array of summary information for one or more data source connector.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataSourceSummary> getSummaryItems()
An array of summary information for one or more data source connector.
public void setSummaryItems(Collection<DataSourceSummary> summaryItems)
An array of summary information for one or more data source connector.
summaryItems
- An array of summary information for one or more data source connector.public ListDataSourcesResult withSummaryItems(DataSourceSummary... summaryItems)
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
setSummaryItems(java.util.Collection)
or withSummaryItems(java.util.Collection)
if you want to
override the existing values.
summaryItems
- An array of summary information for one or more data source connector.public ListDataSourcesResult withSummaryItems(Collection<DataSourceSummary> summaryItems)
An array of summary information for one or more data source connector.
summaryItems
- An array of summary information for one or more data source connector.public void setNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of data source connectors.
nextToken
- If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request
to retrieve the next set of data source connectors.public String getNextToken()
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of data source connectors.
public ListDataSourcesResult withNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of data source connectors.
nextToken
- If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request
to retrieve the next set of data source connectors.public String toString()
toString
in class Object
Object.toString()
public ListDataSourcesResult clone()