Struct aws_sdk_databrew::model::excel_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ExcelOptions
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn sheet_names(self, input: impl Into<String>) -> Self
pub fn sheet_names(self, input: impl Into<String>) -> Self
Appends an item to sheet_names
.
To override the contents of this collection use set_sheet_names
.
One or more named sheets in the Excel file that will be included in the dataset.
sourcepub fn set_sheet_names(self, input: Option<Vec<String>>) -> Self
pub fn set_sheet_names(self, input: Option<Vec<String>>) -> Self
One or more named sheets in the Excel file that will be included in the dataset.
sourcepub fn sheet_indexes(self, input: i32) -> Self
pub fn sheet_indexes(self, input: i32) -> Self
Appends an item to sheet_indexes
.
To override the contents of this collection use set_sheet_indexes
.
One or more sheet numbers in the Excel file that will be included in the dataset.
sourcepub fn set_sheet_indexes(self, input: Option<Vec<i32>>) -> Self
pub fn set_sheet_indexes(self, input: Option<Vec<i32>>) -> Self
One or more sheet numbers in the Excel file that will be included in the dataset.
sourcepub fn header_row(self, input: bool) -> Self
pub fn header_row(self, input: bool) -> Self
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.
sourcepub fn set_header_row(self, input: Option<bool>) -> Self
pub fn set_header_row(self, input: Option<bool>) -> Self
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.
sourcepub fn build(self) -> ExcelOptions
pub fn build(self) -> ExcelOptions
Consumes the builder and constructs a ExcelOptions
.