Struct aws_sdk_dynamodb::model::csv_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CsvOptions
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> CsvOptions
pub fn build(self) -> CsvOptions
Consumes the builder and constructs a CsvOptions
.