Struct aws_sdk_glue::types::builders::S3DeltaSourceBuilder
source · #[non_exhaustive]pub struct S3DeltaSourceBuilder { /* private fields */ }
Expand description
A builder for S3DeltaSource
.
Implementations§
source§impl S3DeltaSourceBuilder
impl S3DeltaSourceBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Delta Lake 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_delta_options(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn additional_delta_options( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to additional_delta_options
.
To override the contents of this collection use set_additional_delta_options
.
Specifies additional connection options.
sourcepub fn set_additional_delta_options(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_additional_delta_options( self, input: Option<HashMap<String, String>>, ) -> Self
Specifies additional connection options.
sourcepub fn get_additional_delta_options(&self) -> &Option<HashMap<String, String>>
pub fn get_additional_delta_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 Delta Lake 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 Delta Lake 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 Delta Lake source.
sourcepub fn build(self) -> Result<S3DeltaSource, BuildError>
pub fn build(self) -> Result<S3DeltaSource, BuildError>
Consumes the builder and constructs a S3DeltaSource
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3DeltaSourceBuilder
impl Clone for S3DeltaSourceBuilder
source§fn clone(&self) -> S3DeltaSourceBuilder
fn clone(&self) -> S3DeltaSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3DeltaSourceBuilder
impl Debug for S3DeltaSourceBuilder
source§impl Default for S3DeltaSourceBuilder
impl Default for S3DeltaSourceBuilder
source§fn default() -> S3DeltaSourceBuilder
fn default() -> S3DeltaSourceBuilder
source§impl PartialEq for S3DeltaSourceBuilder
impl PartialEq for S3DeltaSourceBuilder
source§fn eq(&self, other: &S3DeltaSourceBuilder) -> bool
fn eq(&self, other: &S3DeltaSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3DeltaSourceBuilder
Auto Trait Implementations§
impl Freeze for S3DeltaSourceBuilder
impl RefUnwindSafe for S3DeltaSourceBuilder
impl Send for S3DeltaSourceBuilder
impl Sync for S3DeltaSourceBuilder
impl Unpin for S3DeltaSourceBuilder
impl UnwindSafe for S3DeltaSourceBuilder
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