Struct aws_sdk_databrew::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
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 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 build(self) -> CsvOptions
pub fn build(self) -> CsvOptions
Consumes the builder and constructs a CsvOptions
.