@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 sources.
|
List<DataSourceSummary> |
getSummaryItems()
An array of summary information for one or more data sources.
|
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 sources.
|
void |
setSummaryItems(Collection<DataSourceSummary> summaryItems)
An array of summary information for one or more data sources.
|
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 sources.
|
ListDataSourcesResult |
withSummaryItems(Collection<DataSourceSummary> summaryItems)
An array of summary information for one or more data sources.
|
ListDataSourcesResult |
withSummaryItems(DataSourceSummary... summaryItems)
An array of summary information for one or more data sources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataSourceSummary> getSummaryItems()
An array of summary information for one or more data sources.
public void setSummaryItems(Collection<DataSourceSummary> summaryItems)
An array of summary information for one or more data sources.
summaryItems
- An array of summary information for one or more data sources.public ListDataSourcesResult withSummaryItems(DataSourceSummary... summaryItems)
An array of summary information for one or more data sources.
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 sources.public ListDataSourcesResult withSummaryItems(Collection<DataSourceSummary> summaryItems)
An array of summary information for one or more data sources.
summaryItems
- An array of summary information for one or more data sources.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 sources.
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 sources.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 sources.
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 sources.
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 sources.public String toString()
toString
in class Object
Object.toString()
public ListDataSourcesResult clone()