Struct aws_sdk_s3::types::builders::InputSerializationBuilder
source · #[non_exhaustive]pub struct InputSerializationBuilder { /* private fields */ }
Expand description
A builder for InputSerialization
.
Implementations§
source§impl InputSerializationBuilder
impl InputSerializationBuilder
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 get_csv(&self) -> &Option<CsvInput>
pub fn get_csv(&self) -> &Option<CsvInput>
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 get_compression_type(&self) -> &Option<CompressionType>
pub fn get_compression_type(&self) -> &Option<CompressionType>
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 get_json(&self) -> &Option<JsonInput>
pub fn get_json(&self) -> &Option<JsonInput>
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 get_parquet(&self) -> &Option<ParquetInput>
pub fn get_parquet(&self) -> &Option<ParquetInput>
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§
source§impl Clone for InputSerializationBuilder
impl Clone for InputSerializationBuilder
source§fn clone(&self) -> InputSerializationBuilder
fn clone(&self) -> InputSerializationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InputSerializationBuilder
impl Debug for InputSerializationBuilder
source§impl Default for InputSerializationBuilder
impl Default for InputSerializationBuilder
source§fn default() -> InputSerializationBuilder
fn default() -> InputSerializationBuilder
impl StructuralPartialEq for InputSerializationBuilder
Auto Trait Implementations§
impl Freeze for InputSerializationBuilder
impl RefUnwindSafe for InputSerializationBuilder
impl Send for InputSerializationBuilder
impl Sync for InputSerializationBuilder
impl Unpin for InputSerializationBuilder
impl UnwindSafe for InputSerializationBuilder
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
)