@Generated(value="software.amazon.awssdk:codegen") public final class ListDataSourcesResponse extends KendraResponse implements ToCopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListDataSourcesResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListDataSourcesResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSummaryItems()
Returns true if the SummaryItems property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListDataSourcesResponse.Builder> |
serializableBuilderClass() |
List<DataSourceSummary> |
summaryItems()
An array of summary information for one or more data sources.
|
ListDataSourcesResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasSummaryItems()
public List<DataSourceSummary> summaryItems()
An array of summary information for one or more data sources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSummaryItems() to see if a value was sent in this field.
public 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.
public ListDataSourcesResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>toBuilder in class AwsResponsepublic static ListDataSourcesResponse.Builder builder()
public static Class<? extends ListDataSourcesResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.