@Generated(value="software.amazon.awssdk:codegen") public final class SubmitFeedbackRequest extends KendraRequest implements ToCopyableBuilder<SubmitFeedbackRequest.Builder,SubmitFeedbackRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SubmitFeedbackRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SubmitFeedbackRequest.Builder |
builder() |
List<ClickFeedback> |
clickFeedbackItems()
Tells Amazon Kendra that a particular search result link was chosen by the user.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasClickFeedbackItems()
Returns true if the ClickFeedbackItems property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRelevanceFeedbackItems()
Returns true if the RelevanceFeedbackItems 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 |
indexId()
The identifier of the index that was queried.
|
String |
queryId()
The identifier of the specific query for which you are submitting feedback.
|
List<RelevanceFeedback> |
relevanceFeedbackItems()
Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the
search.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubmitFeedbackRequest.Builder> |
serializableBuilderClass() |
SubmitFeedbackRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String indexId()
The identifier of the index that was queried.
public String queryId()
The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the operation.
public boolean hasClickFeedbackItems()
public List<ClickFeedback> clickFeedbackItems()
Tells Amazon Kendra that a particular search result link was chosen by the user.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasClickFeedbackItems() to see if a value was sent in this field.
public boolean hasRelevanceFeedbackItems()
public List<RelevanceFeedback> relevanceFeedbackItems()
Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRelevanceFeedbackItems() to see if a value was sent in this field.
public SubmitFeedbackRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubmitFeedbackRequest.Builder,SubmitFeedbackRequest>toBuilder in class KendraRequestpublic static SubmitFeedbackRequest.Builder builder()
public static Class<? extends SubmitFeedbackRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.