@Generated(value="software.amazon.awssdk:codegen") public final class PutFeedbackRequest extends WisdomRequest implements ToCopyableBuilder<PutFeedbackRequest.Builder,PutFeedbackRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutFeedbackRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assistantId()
The identifier of the Wisdom assistant.
|
static PutFeedbackRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FeedbackData |
feedback()
The feedback.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutFeedbackRequest.Builder> |
serializableBuilderClass() |
String |
targetId()
The identifier of a recommendation.
|
TargetType |
targetType()
The type of the targetId for which The feedback.
|
String |
targetTypeAsString()
The type of the targetId for which The feedback.
|
PutFeedbackRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assistantId()
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
public final FeedbackData feedback()
The feedback.
public final String targetId()
The identifier of a recommendation. or The identifier of the result data.
public final TargetType targetType()
The type of the targetId for which The feedback. is targeted.
If the service returns an enum value that is not available in the current SDK version, targetType will
return TargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetTypeAsString().
TargetTypepublic final String targetTypeAsString()
The type of the targetId for which The feedback. is targeted.
If the service returns an enum value that is not available in the current SDK version, targetType will
return TargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
targetTypeAsString().
TargetTypepublic PutFeedbackRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutFeedbackRequest.Builder,PutFeedbackRequest>toBuilder in class WisdomRequestpublic static PutFeedbackRequest.Builder builder()
public static Class<? extends PutFeedbackRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.