Struct aws_sdk_s3::model::input_serialization::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InputSerialization
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_csv(self, input: Option<CsvInput>) -> Self
pub fn set_csv(self, input: Option<CsvInput>) -> Self
Describes the serialization of a CSV-encoded object.
sourcepub fn compression_type(self, input: CompressionType) -> Self
pub fn compression_type(self, input: CompressionType) -> Self
Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.
sourcepub fn set_compression_type(self, input: Option<CompressionType>) -> Self
pub fn set_compression_type(self, input: Option<CompressionType>) -> Self
Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.
sourcepub fn json(self, input: JsonInput) -> Self
pub fn json(self, input: JsonInput) -> Self
Specifies JSON as object's input serialization format.
sourcepub fn set_json(self, input: Option<JsonInput>) -> Self
pub fn set_json(self, input: Option<JsonInput>) -> Self
Specifies JSON as object's input serialization format.
sourcepub fn parquet(self, input: ParquetInput) -> Self
pub fn parquet(self, input: ParquetInput) -> Self
Specifies Parquet as object's input serialization format.
sourcepub fn set_parquet(self, input: Option<ParquetInput>) -> Self
pub fn set_parquet(self, input: Option<ParquetInput>) -> Self
Specifies Parquet as object's input serialization format.
sourcepub fn build(self) -> InputSerialization
pub fn build(self) -> InputSerialization
Consumes the builder and constructs a InputSerialization
.