public static final class CfnDataset.ExcelOptionsProperty.Builder
extends java.lang.Object
CfnDataset.ExcelOptionsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataset.ExcelOptionsProperty |
build()
Builds the configured instance.
|
CfnDataset.ExcelOptionsProperty.Builder |
headerRow(java.lang.Boolean headerRow)
Sets the value of
CfnDataset.ExcelOptionsProperty.getHeaderRow() |
CfnDataset.ExcelOptionsProperty.Builder |
headerRow(IResolvable headerRow)
Sets the value of
CfnDataset.ExcelOptionsProperty.getHeaderRow() |
CfnDataset.ExcelOptionsProperty.Builder |
sheetIndexes(IResolvable sheetIndexes)
Sets the value of
CfnDataset.ExcelOptionsProperty.getSheetIndexes() |
CfnDataset.ExcelOptionsProperty.Builder |
sheetIndexes(java.util.List<? extends java.lang.Number> sheetIndexes)
Sets the value of
CfnDataset.ExcelOptionsProperty.getSheetIndexes() |
CfnDataset.ExcelOptionsProperty.Builder |
sheetNames(java.util.List<java.lang.String> sheetNames)
Sets the value of
CfnDataset.ExcelOptionsProperty.getSheetNames() |
public CfnDataset.ExcelOptionsProperty.Builder headerRow(java.lang.Boolean headerRow)
CfnDataset.ExcelOptionsProperty.getHeaderRow()
headerRow
- A variable that specifies whether the first row in the file is parsed as the header.
If this value is false, column names are auto-generated.this
public CfnDataset.ExcelOptionsProperty.Builder headerRow(IResolvable headerRow)
CfnDataset.ExcelOptionsProperty.getHeaderRow()
headerRow
- A variable that specifies whether the first row in the file is parsed as the header.
If this value is false, column names are auto-generated.this
public CfnDataset.ExcelOptionsProperty.Builder sheetIndexes(IResolvable sheetIndexes)
CfnDataset.ExcelOptionsProperty.getSheetIndexes()
sheetIndexes
- One or more sheet numbers in the Excel file that will be included in the dataset.this
public CfnDataset.ExcelOptionsProperty.Builder sheetIndexes(java.util.List<? extends java.lang.Number> sheetIndexes)
CfnDataset.ExcelOptionsProperty.getSheetIndexes()
sheetIndexes
- One or more sheet numbers in the Excel file that will be included in the dataset.this
public CfnDataset.ExcelOptionsProperty.Builder sheetNames(java.util.List<java.lang.String> sheetNames)
CfnDataset.ExcelOptionsProperty.getSheetNames()
sheetNames
- One or more named sheets in the Excel file that will be included in the dataset.this
public CfnDataset.ExcelOptionsProperty build()
CfnDataset.ExcelOptionsProperty
java.lang.NullPointerException
- if any required attribute was not provided