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 for CsvOptionsBuilder
impl PartialEq for CsvOptionsBuilder
impl StructuralPartialEq for CsvOptionsBuilder
Auto Trait Implementations§
impl Freeze for CsvOptionsBuilder
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
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.