@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Highlight extends Object implements Serializable, Cloneable, StructuredPojo
Offset specification to describe highlighting of document excerpts for rendering search results and recommendations.
Constructor and Description |
---|
Highlight() |
Modifier and Type | Method and Description |
---|---|
Highlight |
clone() |
boolean |
equals(Object obj) |
Integer |
getBeginOffsetInclusive()
The offset for the start of the highlight.
|
Integer |
getEndOffsetExclusive()
The offset for the end of the highlight.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBeginOffsetInclusive(Integer beginOffsetInclusive)
The offset for the start of the highlight.
|
void |
setEndOffsetExclusive(Integer endOffsetExclusive)
The offset for the end of the highlight.
|
String |
toString()
Returns a string representation of this object.
|
Highlight |
withBeginOffsetInclusive(Integer beginOffsetInclusive)
The offset for the start of the highlight.
|
Highlight |
withEndOffsetExclusive(Integer endOffsetExclusive)
The offset for the end of the highlight.
|
public void setBeginOffsetInclusive(Integer beginOffsetInclusive)
The offset for the start of the highlight.
beginOffsetInclusive
- The offset for the start of the highlight.public Integer getBeginOffsetInclusive()
The offset for the start of the highlight.
public Highlight withBeginOffsetInclusive(Integer beginOffsetInclusive)
The offset for the start of the highlight.
beginOffsetInclusive
- The offset for the start of the highlight.public void setEndOffsetExclusive(Integer endOffsetExclusive)
The offset for the end of the highlight.
endOffsetExclusive
- The offset for the end of the highlight.public Integer getEndOffsetExclusive()
The offset for the end of the highlight.
public Highlight withEndOffsetExclusive(Integer endOffsetExclusive)
The offset for the end of the highlight.
endOffsetExclusive
- The offset for the end of the highlight.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.