Struct aws_sdk_databrew::types::builders::ExcelOptionsBuilder
source · #[non_exhaustive]pub struct ExcelOptionsBuilder { /* private fields */ }
Expand description
A builder for ExcelOptions
.
Implementations§
source§impl ExcelOptionsBuilder
impl ExcelOptionsBuilder
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 get_sheet_names(&self) -> &Option<Vec<String>>
pub fn get_sheet_names(&self) -> &Option<Vec<String>>
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 get_sheet_indexes(&self) -> &Option<Vec<i32>>
pub fn get_sheet_indexes(&self) -> &Option<Vec<i32>>
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 get_header_row(&self) -> &Option<bool>
pub fn get_header_row(&self) -> &Option<bool>
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
.
Trait Implementations§
source§impl Clone for ExcelOptionsBuilder
impl Clone for ExcelOptionsBuilder
source§fn clone(&self) -> ExcelOptionsBuilder
fn clone(&self) -> ExcelOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExcelOptionsBuilder
impl Debug for ExcelOptionsBuilder
source§impl Default for ExcelOptionsBuilder
impl Default for ExcelOptionsBuilder
source§fn default() -> ExcelOptionsBuilder
fn default() -> ExcelOptionsBuilder
source§impl PartialEq for ExcelOptionsBuilder
impl PartialEq for ExcelOptionsBuilder
source§fn eq(&self, other: &ExcelOptionsBuilder) -> bool
fn eq(&self, other: &ExcelOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.