@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdditionalResultAttributeValue extends Object implements Serializable, Cloneable, StructuredPojo
An attribute returned with a document from a search.
Constructor and Description |
---|
AdditionalResultAttributeValue() |
Modifier and Type | Method and Description |
---|---|
AdditionalResultAttributeValue |
clone() |
boolean |
equals(Object obj) |
TextWithHighlights |
getTextWithHighlightsValue()
The text associated with the attribute and information about the highlight to apply to the text.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTextWithHighlightsValue(TextWithHighlights textWithHighlightsValue)
The text associated with the attribute and information about the highlight to apply to the text.
|
String |
toString()
Returns a string representation of this object.
|
AdditionalResultAttributeValue |
withTextWithHighlightsValue(TextWithHighlights textWithHighlightsValue)
The text associated with the attribute and information about the highlight to apply to the text.
|
public void setTextWithHighlightsValue(TextWithHighlights textWithHighlightsValue)
The text associated with the attribute and information about the highlight to apply to the text.
textWithHighlightsValue
- The text associated with the attribute and information about the highlight to apply to the text.public TextWithHighlights getTextWithHighlightsValue()
The text associated with the attribute and information about the highlight to apply to the text.
public AdditionalResultAttributeValue withTextWithHighlightsValue(TextWithHighlights textWithHighlightsValue)
The text associated with the attribute and information about the highlight to apply to the text.
textWithHighlightsValue
- The text associated with the attribute and information about the highlight to apply to the text.public String toString()
toString
in class Object
Object.toString()
public AdditionalResultAttributeValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.