Struct aws_sdk_glue::types::builders::S3HudiSourceBuilder
source · #[non_exhaustive]pub struct S3HudiSourceBuilder { /* private fields */ }Expand description
A builder for S3HudiSource.
Implementations§
source§impl S3HudiSourceBuilder
impl S3HudiSourceBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Hudi source.
This field is required.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 get_additional_hudi_options(&self) -> &Option<HashMap<String, String>>
pub fn get_additional_hudi_options(&self) -> &Option<HashMap<String, String>>
Specifies additional connection options.
sourcepub fn additional_options(self, input: S3DirectSourceAdditionalOptions) -> Self
pub fn additional_options(self, input: S3DirectSourceAdditionalOptions) -> Self
Specifies additional options for the connector.
sourcepub fn set_additional_options(
self,
input: Option<S3DirectSourceAdditionalOptions>
) -> Self
pub fn set_additional_options( self, input: Option<S3DirectSourceAdditionalOptions> ) -> Self
Specifies additional options for the connector.
sourcepub fn get_additional_options(&self) -> &Option<S3DirectSourceAdditionalOptions>
pub fn get_additional_options(&self) -> &Option<S3DirectSourceAdditionalOptions>
Specifies additional options for the connector.
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 get_output_schemas(&self) -> &Option<Vec<GlueSchema>>
pub fn get_output_schemas(&self) -> &Option<Vec<GlueSchema>>
Specifies the data schema for the Hudi source.
sourcepub fn build(self) -> Result<S3HudiSource, BuildError>
pub fn build(self) -> Result<S3HudiSource, BuildError>
Consumes the builder and constructs a S3HudiSource.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3HudiSourceBuilder
impl Clone for S3HudiSourceBuilder
source§fn clone(&self) -> S3HudiSourceBuilder
fn clone(&self) -> S3HudiSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3HudiSourceBuilder
impl Debug for S3HudiSourceBuilder
source§impl Default for S3HudiSourceBuilder
impl Default for S3HudiSourceBuilder
source§fn default() -> S3HudiSourceBuilder
fn default() -> S3HudiSourceBuilder
source§impl PartialEq for S3HudiSourceBuilder
impl PartialEq for S3HudiSourceBuilder
source§fn eq(&self, other: &S3HudiSourceBuilder) -> bool
fn eq(&self, other: &S3HudiSourceBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3HudiSourceBuilder
Auto Trait Implementations§
impl Freeze for S3HudiSourceBuilder
impl RefUnwindSafe for S3HudiSourceBuilder
impl Send for S3HudiSourceBuilder
impl Sync for S3HudiSourceBuilder
impl Unpin for S3HudiSourceBuilder
impl UnwindSafe for S3HudiSourceBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more