@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BedrockKnowledgeStoreExactResponseFields extends Object implements Serializable, Cloneable, StructuredPojo
The exact response fields given by the Bedrock knowledge store.
Constructor and Description |
---|
BedrockKnowledgeStoreExactResponseFields() |
Modifier and Type | Method and Description |
---|---|
BedrockKnowledgeStoreExactResponseFields |
clone() |
boolean |
equals(Object obj) |
String |
getAnswerField()
The answer field used for an exact response from Bedrock Knowledge Store.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnswerField(String answerField)
The answer field used for an exact response from Bedrock Knowledge Store.
|
String |
toString()
Returns a string representation of this object.
|
BedrockKnowledgeStoreExactResponseFields |
withAnswerField(String answerField)
The answer field used for an exact response from Bedrock Knowledge Store.
|
public BedrockKnowledgeStoreExactResponseFields()
public void setAnswerField(String answerField)
The answer field used for an exact response from Bedrock Knowledge Store.
answerField
- The answer field used for an exact response from Bedrock Knowledge Store.public String getAnswerField()
The answer field used for an exact response from Bedrock Knowledge Store.
public BedrockKnowledgeStoreExactResponseFields withAnswerField(String answerField)
The answer field used for an exact response from Bedrock Knowledge Store.
answerField
- The answer field used for an exact response from Bedrock Knowledge Store.public String toString()
toString
in class Object
Object.toString()
public BedrockKnowledgeStoreExactResponseFields clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.