@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TableCell extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a table cell in a table excerpt.
Constructor and Description |
---|
TableCell() |
Modifier and Type | Method and Description |
---|---|
TableCell |
clone() |
boolean |
equals(Object obj) |
Boolean |
getHeader()
TRUE means that the table cell should be treated as a header. |
Boolean |
getHighlighted()
TRUE means that the table cell has a high enough confidence and is relevant to the query, so the
value or content should be highlighted. |
Boolean |
getTopAnswer()
TRUE if the response of the table cell is the top answer. |
String |
getValue()
The actual value or content within a table cell.
|
int |
hashCode() |
Boolean |
isHeader()
TRUE means that the table cell should be treated as a header. |
Boolean |
isHighlighted()
TRUE means that the table cell has a high enough confidence and is relevant to the query, so the
value or content should be highlighted. |
Boolean |
isTopAnswer()
TRUE if the response of the table cell is the top answer. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHeader(Boolean header)
TRUE means that the table cell should be treated as a header. |
void |
setHighlighted(Boolean highlighted)
TRUE means that the table cell has a high enough confidence and is relevant to the query, so the
value or content should be highlighted. |
void |
setTopAnswer(Boolean topAnswer)
TRUE if the response of the table cell is the top answer. |
void |
setValue(String value)
The actual value or content within a table cell.
|
String |
toString()
Returns a string representation of this object.
|
TableCell |
withHeader(Boolean header)
TRUE means that the table cell should be treated as a header. |
TableCell |
withHighlighted(Boolean highlighted)
TRUE means that the table cell has a high enough confidence and is relevant to the query, so the
value or content should be highlighted. |
TableCell |
withTopAnswer(Boolean topAnswer)
TRUE if the response of the table cell is the top answer. |
TableCell |
withValue(String value)
The actual value or content within a table cell.
|
public void setValue(String value)
The actual value or content within a table cell. A table cell could contain a date value of a year, or a string value of text, for example.
value
- The actual value or content within a table cell. A table cell could contain a date value of a year, or a
string value of text, for example.public String getValue()
The actual value or content within a table cell. A table cell could contain a date value of a year, or a string value of text, for example.
public TableCell withValue(String value)
The actual value or content within a table cell. A table cell could contain a date value of a year, or a string value of text, for example.
value
- The actual value or content within a table cell. A table cell could contain a date value of a year, or a
string value of text, for example.public void setTopAnswer(Boolean topAnswer)
TRUE
if the response of the table cell is the top answer. This is the cell value or content with the
highest confidence score or is the most relevant to the query.
topAnswer
- TRUE
if the response of the table cell is the top answer. This is the cell value or content
with the highest confidence score or is the most relevant to the query.public Boolean getTopAnswer()
TRUE
if the response of the table cell is the top answer. This is the cell value or content with the
highest confidence score or is the most relevant to the query.
TRUE
if the response of the table cell is the top answer. This is the cell value or content
with the highest confidence score or is the most relevant to the query.public TableCell withTopAnswer(Boolean topAnswer)
TRUE
if the response of the table cell is the top answer. This is the cell value or content with the
highest confidence score or is the most relevant to the query.
topAnswer
- TRUE
if the response of the table cell is the top answer. This is the cell value or content
with the highest confidence score or is the most relevant to the query.public Boolean isTopAnswer()
TRUE
if the response of the table cell is the top answer. This is the cell value or content with the
highest confidence score or is the most relevant to the query.
TRUE
if the response of the table cell is the top answer. This is the cell value or content
with the highest confidence score or is the most relevant to the query.public void setHighlighted(Boolean highlighted)
TRUE
means that the table cell has a high enough confidence and is relevant to the query, so the
value or content should be highlighted.
highlighted
- TRUE
means that the table cell has a high enough confidence and is relevant to the query, so
the value or content should be highlighted.public Boolean getHighlighted()
TRUE
means that the table cell has a high enough confidence and is relevant to the query, so the
value or content should be highlighted.
TRUE
means that the table cell has a high enough confidence and is relevant to the query, so
the value or content should be highlighted.public TableCell withHighlighted(Boolean highlighted)
TRUE
means that the table cell has a high enough confidence and is relevant to the query, so the
value or content should be highlighted.
highlighted
- TRUE
means that the table cell has a high enough confidence and is relevant to the query, so
the value or content should be highlighted.public Boolean isHighlighted()
TRUE
means that the table cell has a high enough confidence and is relevant to the query, so the
value or content should be highlighted.
TRUE
means that the table cell has a high enough confidence and is relevant to the query, so
the value or content should be highlighted.public void setHeader(Boolean header)
TRUE
means that the table cell should be treated as a header.
header
- TRUE
means that the table cell should be treated as a header.public Boolean getHeader()
TRUE
means that the table cell should be treated as a header.
TRUE
means that the table cell should be treated as a header.public TableCell withHeader(Boolean header)
TRUE
means that the table cell should be treated as a header.
header
- TRUE
means that the table cell should be treated as a header.public Boolean isHeader()
TRUE
means that the table cell should be treated as a header.
TRUE
means that the table cell should be treated as a header.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.