Class ContentFeedbackData
- java.lang.Object
-
- software.amazon.awssdk.services.qconnect.model.ContentFeedbackData
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContentFeedbackData.Builder,ContentFeedbackData>
@Generated("software.amazon.awssdk:codegen") public final class ContentFeedbackData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContentFeedbackData.Builder,ContentFeedbackData>
Information about the feedback.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContentFeedbackData.Builderstatic classContentFeedbackData.Type
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
generativeContentFeedbackData
public final GenerativeContentFeedbackData generativeContentFeedbackData()
Information about the feedback for a generative target type.
- Returns:
- Information about the feedback for a generative target type.
-
toBuilder
public ContentFeedbackData.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContentFeedbackData.Builder,ContentFeedbackData>
-
builder
public static ContentFeedbackData.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContentFeedbackData.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromGenerativeContentFeedbackData
public static ContentFeedbackData fromGenerativeContentFeedbackData(GenerativeContentFeedbackData generativeContentFeedbackData)
Create an instance of this class withgenerativeContentFeedbackData()initialized to the given value.Information about the feedback for a generative target type.
- Parameters:
generativeContentFeedbackData- Information about the feedback for a generative target type.
-
fromGenerativeContentFeedbackData
public static ContentFeedbackData fromGenerativeContentFeedbackData(Consumer<GenerativeContentFeedbackData.Builder> generativeContentFeedbackData)
Create an instance of this class withgenerativeContentFeedbackData()initialized to the given value.Information about the feedback for a generative target type.
- Parameters:
generativeContentFeedbackData- Information about the feedback for a generative target type.
-
type
public ContentFeedbackData.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beContentFeedbackData.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beContentFeedbackData.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-