Struct aws_sdk_databrew::types::builders::CsvOptionsBuilder
source · #[non_exhaustive]pub struct CsvOptionsBuilder { /* private fields */ }
Expand description
A builder for CsvOptions
.
Implementations§
source§impl CsvOptionsBuilder
impl CsvOptionsBuilder
sourcepub fn delimiter(self, input: impl Into<String>) -> Self
pub fn delimiter(self, input: impl Into<String>) -> Self
A single character that specifies the delimiter being used in the CSV file.
sourcepub fn set_delimiter(self, input: Option<String>) -> Self
pub fn set_delimiter(self, input: Option<String>) -> Self
A single character that specifies the delimiter being used in the CSV file.
sourcepub fn get_delimiter(&self) -> &Option<String>
pub fn get_delimiter(&self) -> &Option<String>
A single character that specifies the delimiter being used in the CSV file.
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) -> CsvOptions
pub fn build(self) -> CsvOptions
Consumes the builder and constructs a CsvOptions
.
Trait Implementations§
source§impl Clone for CsvOptionsBuilder
impl Clone for CsvOptionsBuilder
source§fn clone(&self) -> CsvOptionsBuilder
fn clone(&self) -> CsvOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CsvOptionsBuilder
impl Debug for CsvOptionsBuilder
source§impl Default for CsvOptionsBuilder
impl Default for CsvOptionsBuilder
source§fn default() -> CsvOptionsBuilder
fn default() -> CsvOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CsvOptionsBuilder> for CsvOptionsBuilder
impl PartialEq<CsvOptionsBuilder> for CsvOptionsBuilder
source§fn eq(&self, other: &CsvOptionsBuilder) -> bool
fn eq(&self, other: &CsvOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CsvOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CsvOptionsBuilder
impl Send for CsvOptionsBuilder
impl Sync for CsvOptionsBuilder
impl Unpin for CsvOptionsBuilder
impl UnwindSafe for CsvOptionsBuilder
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
Mutably borrows from an owned value. Read more