Struct aws_sdk_glue::model::s3_hudi_source::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for S3HudiSource.
Implementations§
source§impl Builder
impl Builder
sourcepub fn paths(self, input: impl Into<String>) -> Self
pub fn paths(self, input: impl Into<String>) -> Self
Appends an item to paths.
To override the contents of this collection use set_paths.
A list of the Amazon S3 paths to read from.
sourcepub fn set_paths(self, input: Option<Vec<String>>) -> Self
pub fn set_paths(self, input: Option<Vec<String>>) -> Self
A list of the Amazon S3 paths to read from.
sourcepub fn additional_hudi_options(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn additional_hudi_options(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to additional_hudi_options.
To override the contents of this collection use set_additional_hudi_options.
Specifies additional connection options.
sourcepub fn set_additional_hudi_options(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_additional_hudi_options(
self,
input: Option<HashMap<String, String>>
) -> Self
Specifies additional connection options.
sourcepub fn additional_options(self, input: S3DirectSourceAdditionalOptions) -> Self
pub fn additional_options(self, input: S3DirectSourceAdditionalOptions) -> Self
Specifies additional connection options for the Amazon S3 data store.
sourcepub fn set_additional_options(
self,
input: Option<S3DirectSourceAdditionalOptions>
) -> Self
pub fn set_additional_options(
self,
input: Option<S3DirectSourceAdditionalOptions>
) -> Self
Specifies additional connection options for the Amazon S3 data store.
sourcepub fn output_schemas(self, input: GlueSchema) -> Self
pub fn output_schemas(self, input: GlueSchema) -> Self
Appends an item to output_schemas.
To override the contents of this collection use set_output_schemas.
Specifies the data schema for the Hudi source.
sourcepub fn set_output_schemas(self, input: Option<Vec<GlueSchema>>) -> Self
pub fn set_output_schemas(self, input: Option<Vec<GlueSchema>>) -> Self
Specifies the data schema for the Hudi source.
sourcepub fn build(self) -> S3HudiSource
pub fn build(self) -> S3HudiSource
Consumes the builder and constructs a S3HudiSource.