Class ExactResponseFields
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.ExactResponseFields
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExactResponseFields.Builder,ExactResponseFields>
@Generated("software.amazon.awssdk:codegen") public final class ExactResponseFields extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExactResponseFields.Builder,ExactResponseFields>
Contains the names of the fields used for an exact response to the user.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExactResponseFields.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanswerField()The name of the field that contains the answer to the query made to the OpenSearch Service database.static ExactResponseFields.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringquestionField()The name of the field that contains the query made to the OpenSearch Service database.List<SdkField<?>>sdkFields()static Class<? extends ExactResponseFields.Builder>serializableBuilderClass()ExactResponseFields.BuildertoBuilder()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
-
questionField
public final String questionField()
The name of the field that contains the query made to the OpenSearch Service database.
- Returns:
- The name of the field that contains the query made to the OpenSearch Service database.
-
answerField
public final String answerField()
The name of the field that contains the answer to the query made to the OpenSearch Service database.
- Returns:
- The name of the field that contains the answer to the query made to the OpenSearch Service database.
-
toBuilder
public ExactResponseFields.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExactResponseFields.Builder,ExactResponseFields>
-
builder
public static ExactResponseFields.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExactResponseFields.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.
-
-