Class TableCell
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.TableCell
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TableCell.Builder,TableCell>
@Generated("software.amazon.awssdk:codegen") public final class TableCell extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TableCell.Builder,TableCell>
Provides information about a table cell in a table excerpt.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTableCell.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableCell.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleanheader()TRUEmeans that the table cell should be treated as a header.Booleanhighlighted()TRUEmeans that the table cell has a high enough confidence and is relevant to the query, so the value or content should be highlighted.List<SdkField<?>>sdkFields()static Class<? extends TableCell.Builder>serializableBuilderClass()TableCell.BuildertoBuilder()BooleantopAnswer()TRUEif the response of the table cell is the top answer.StringtoString()Returns a string representation of this object.Stringvalue()The actual value or content within a table cell.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
value
public final 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.
- Returns:
- 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.
-
topAnswer
public final Boolean topAnswer()
TRUEif 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.- Returns:
TRUEif 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.
-
highlighted
public final Boolean highlighted()
TRUEmeans that the table cell has a high enough confidence and is relevant to the query, so the value or content should be highlighted.- Returns:
TRUEmeans that the table cell has a high enough confidence and is relevant to the query, so the value or content should be highlighted.
-
header
public final Boolean header()
TRUEmeans that the table cell should be treated as a header.- Returns:
TRUEmeans that the table cell should be treated as a header.
-
toBuilder
public TableCell.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TableCell.Builder,TableCell>
-
builder
public static TableCell.Builder builder()
-
serializableBuilderClass
public static Class<? extends TableCell.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-