Class TableCellDetails.Builder
- java.lang.Object
-
- ai.extend.types.TableCellDetails.Builder
-
- All Implemented Interfaces:
TableCellDetails._FinalStage,TableCellDetails.ColumnIndexStage,TableCellDetails.RowIndexStage
- Enclosing class:
- TableCellDetails
public static final class TableCellDetails.Builder extends java.lang.Object implements TableCellDetails.RowIndexStage, TableCellDetails.ColumnIndexStage, TableCellDetails._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableCellDetailsbuild()TableCellDetails._FinalStagecellReference(java.lang.String cellReference)Source spreadsheet cell or range in A1 notation, such asB2orA1:C1for a merged cell.TableCellDetails._FinalStagecellReference(java.util.Optional<java.lang.String> cellReference)Source spreadsheet cell or range in A1 notation, such asB2orA1:C1for a merged cell.TableCellDetails._FinalStagecolumnIndex(int columnIndex)TableCellDetails._FinalStageformatting(CellFormatting formatting)Structured spreadsheet cell formatting.TableCellDetails._FinalStageformatting(java.util.Optional<CellFormatting> formatting)Structured spreadsheet cell formatting.TableCellDetails._FinalStageformula(java.lang.String formula)Source spreadsheet formula text with a leading=, when the cell has a formula.TableCellDetails._FinalStageformula(java.util.Optional<java.lang.String> formula)Source spreadsheet formula text with a leading=, when the cell has a formula.TableCellDetails.Builderfrom(TableCellDetails other)TableCellDetails.ColumnIndexStagerowIndex(int rowIndex)
-
-
-
Method Detail
-
from
public TableCellDetails.Builder from(TableCellDetails other)
- Specified by:
fromin interfaceTableCellDetails.RowIndexStage
-
rowIndex
public TableCellDetails.ColumnIndexStage rowIndex(int rowIndex)
- Specified by:
rowIndexin interfaceTableCellDetails.RowIndexStage
-
columnIndex
public TableCellDetails._FinalStage columnIndex(int columnIndex)
- Specified by:
columnIndexin interfaceTableCellDetails.ColumnIndexStage
-
formatting
public TableCellDetails._FinalStage formatting(CellFormatting formatting)
Structured spreadsheet cell formatting. Only set when
advancedOptions.excelIncludeCellFormattingis enabled and formatting is present.- Specified by:
formattingin interfaceTableCellDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
formatting
public TableCellDetails._FinalStage formatting(java.util.Optional<CellFormatting> formatting)
Structured spreadsheet cell formatting. Only set when
advancedOptions.excelIncludeCellFormattingis enabled and formatting is present.- Specified by:
formattingin interfaceTableCellDetails._FinalStage
-
formula
public TableCellDetails._FinalStage formula(java.lang.String formula)
Source spreadsheet formula text with a leading
=, when the cell has a formula. Only set for Excel table cells whenadvancedOptions.excelIncludeCellMetadatais enabled.- Specified by:
formulain interfaceTableCellDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
formula
public TableCellDetails._FinalStage formula(java.util.Optional<java.lang.String> formula)
Source spreadsheet formula text with a leading
=, when the cell has a formula. Only set for Excel table cells whenadvancedOptions.excelIncludeCellMetadatais enabled.- Specified by:
formulain interfaceTableCellDetails._FinalStage
-
cellReference
public TableCellDetails._FinalStage cellReference(java.lang.String cellReference)
Source spreadsheet cell or range in A1 notation, such as
B2orA1:C1for a merged cell. Only set for Excel table cells whenadvancedOptions.excelIncludeCellMetadatais enabled.- Specified by:
cellReferencein interfaceTableCellDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
cellReference
public TableCellDetails._FinalStage cellReference(java.util.Optional<java.lang.String> cellReference)
Source spreadsheet cell or range in A1 notation, such as
B2orA1:C1for a merged cell. Only set for Excel table cells whenadvancedOptions.excelIncludeCellMetadatais enabled.- Specified by:
cellReferencein interfaceTableCellDetails._FinalStage
-
build
public TableCellDetails build()
- Specified by:
buildin interfaceTableCellDetails._FinalStage
-
-