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
impl StructuralPartialEq for ExcelOptionsBuilder
Auto Trait Implementations§
impl Freeze for ExcelOptionsBuilder
impl RefUnwindSafe for ExcelOptionsBuilder
impl Send for ExcelOptionsBuilder
impl Sync for ExcelOptionsBuilder
impl Unpin for ExcelOptionsBuilder
impl UnwindSafe for ExcelOptionsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more