Class GeneratedAnswerResult
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.GeneratedAnswerResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GeneratedAnswerResult.Builder,GeneratedAnswerResult>
@Generated("software.amazon.awssdk:codegen") public final class GeneratedAnswerResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GeneratedAnswerResult.Builder,GeneratedAnswerResult>
The QA result that is made from generated answer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeneratedAnswerResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanswerId()The ID of the answer.GeneratedAnswerStatusanswerStatus()The answer status of the generated answer.StringanswerStatusAsString()The answer status of the generated answer.static GeneratedAnswerResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringquestionId()The ID of the question.StringquestionText()The question text.StringquestionUrl()The URL of the question.Stringrestatement()The restatement for the answer.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GeneratedAnswerResult.Builder>serializableBuilderClass()GeneratedAnswerResult.BuildertoBuilder()StringtopicId()The ID of the topic.StringtopicName()The name of the topic.StringtoString()Returns a string representation of this object.-
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
-
questionText
public final String questionText()
The question text.
- Returns:
- The question text.
-
answerStatus
public final GeneratedAnswerStatus answerStatus()
The answer status of the generated answer.
If the service returns an enum value that is not available in the current SDK version,
answerStatuswill returnGeneratedAnswerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromanswerStatusAsString().- Returns:
- The answer status of the generated answer.
- See Also:
GeneratedAnswerStatus
-
answerStatusAsString
public final String answerStatusAsString()
The answer status of the generated answer.
If the service returns an enum value that is not available in the current SDK version,
answerStatuswill returnGeneratedAnswerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromanswerStatusAsString().- Returns:
- The answer status of the generated answer.
- See Also:
GeneratedAnswerStatus
-
topicId
public final String topicId()
The ID of the topic.
- Returns:
- The ID of the topic.
-
topicName
public final String topicName()
The name of the topic.
- Returns:
- The name of the topic.
-
restatement
public final String restatement()
The restatement for the answer.
- Returns:
- The restatement for the answer.
-
questionId
public final String questionId()
The ID of the question.
- Returns:
- The ID of the question.
-
answerId
public final String answerId()
The ID of the answer.
- Returns:
- The ID of the answer.
-
questionUrl
public final String questionUrl()
The URL of the question.
- Returns:
- The URL of the question.
-
toBuilder
public GeneratedAnswerResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeneratedAnswerResult.Builder,GeneratedAnswerResult>
-
builder
public static GeneratedAnswerResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends GeneratedAnswerResult.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-