Interface ExactResponseFields.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ExactResponseFields.Builder,ExactResponseFields>, SdkBuilder<ExactResponseFields.Builder,ExactResponseFields>, SdkPojo
Enclosing class:
ExactResponseFields

public static interface ExactResponseFields.Builder extends SdkPojo, CopyableBuilder<ExactResponseFields.Builder,ExactResponseFields>
  • Method Details

    • questionField

      ExactResponseFields.Builder questionField(String questionField)

      The name of the field that contains the query made to the OpenSearch Service database.

      Parameters:
      questionField - The name of the field that contains the query made to the OpenSearch Service database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • answerField

      ExactResponseFields.Builder answerField(String answerField)

      The name of the field that contains the answer to the query made to the OpenSearch Service database.

      Parameters:
      answerField - The name of the field that contains the answer to the query made to the OpenSearch Service database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.