Struct aws_sdk_dynamodb::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
The delimiter used for separating items in the CSV file being imported.
sourcepub fn set_delimiter(self, input: Option<String>) -> Self
pub fn set_delimiter(self, input: Option<String>) -> Self
The delimiter used for separating items in the CSV file being imported.
sourcepub fn get_delimiter(&self) -> &Option<String>
pub fn get_delimiter(&self) -> &Option<String>
The delimiter used for separating items in the CSV file being imported.
sourcepub fn header_list(self, input: impl Into<String>) -> Self
pub fn header_list(self, input: impl Into<String>) -> Self
Appends an item to header_list
.
To override the contents of this collection use set_header_list
.
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
sourcepub fn set_header_list(self, input: Option<Vec<String>>) -> Self
pub fn set_header_list(self, input: Option<Vec<String>>) -> Self
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
sourcepub fn get_header_list(&self) -> &Option<Vec<String>>
pub fn get_header_list(&self) -> &Option<Vec<String>>
List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for CsvOptionsBuilder
impl PartialEq for CsvOptionsBuilder
source§fn eq(&self, other: &CsvOptionsBuilder) -> bool
fn eq(&self, other: &CsvOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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