Struct aws_sdk_s3::model::input_serialization::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for InputSerialization
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more