@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExactResponseFields extends Object implements Serializable, Cloneable, StructuredPojo
Contains the names of the fields used for an exact response to the user.
Constructor and Description |
---|
ExactResponseFields() |
Modifier and Type | Method and Description |
---|---|
ExactResponseFields |
clone() |
boolean |
equals(Object obj) |
String |
getAnswerField()
The name of the field that contains the answer to the query made to the OpenSearch Service database.
|
String |
getQuestionField()
The name of the field that contains the query made to the OpenSearch Service database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnswerField(String answerField)
The name of the field that contains the answer to the query made to the OpenSearch Service database.
|
void |
setQuestionField(String questionField)
The name of the field that contains the query made to the OpenSearch Service database.
|
String |
toString()
Returns a string representation of this object.
|
ExactResponseFields |
withAnswerField(String answerField)
The name of the field that contains the answer to the query made to the OpenSearch Service database.
|
ExactResponseFields |
withQuestionField(String questionField)
The name of the field that contains the query made to the OpenSearch Service database.
|
public void setQuestionField(String questionField)
The name of the field that contains the query made to the OpenSearch Service database.
questionField
- The name of the field that contains the query made to the OpenSearch Service database.public String getQuestionField()
The name of the field that contains the query made to the OpenSearch Service database.
public ExactResponseFields withQuestionField(String questionField)
The name of the field that contains the query made to the OpenSearch Service database.
questionField
- The name of the field that contains the query made to the OpenSearch Service database.public void setAnswerField(String answerField)
The name of the field that contains the answer to the query made to the OpenSearch Service database.
answerField
- The name of the field that contains the answer to the query made to the OpenSearch Service database.public String getAnswerField()
The name of the field that contains the answer to the query made to the OpenSearch Service database.
public ExactResponseFields withAnswerField(String answerField)
The name of the field that contains the answer to the query made to the OpenSearch Service database.
answerField
- The name of the field that contains the answer to the query made to the OpenSearch Service database.public String toString()
toString
in class Object
Object.toString()
public ExactResponseFields clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.