Struct aws_sdk_glue::types::builders::S3CatalogDeltaSourceBuilder
source · #[non_exhaustive]pub struct S3CatalogDeltaSourceBuilder { /* private fields */ }
Expand description
A builder for S3CatalogDeltaSource
.
Implementations§
source§impl S3CatalogDeltaSourceBuilder
impl S3CatalogDeltaSourceBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Delta Lake data source.
This field is required.sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
The name of the database to read from.
This field is required.sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The name of the database to read from.
sourcepub fn get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
The name of the database to read from.
sourcepub fn table(self, input: impl Into<String>) -> Self
pub fn table(self, input: impl Into<String>) -> Self
The name of the table in the database to read from.
This field is required.sourcepub fn set_table(self, input: Option<String>) -> Self
pub fn set_table(self, input: Option<String>) -> Self
The name of the table in the database 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 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<S3CatalogDeltaSource, BuildError>
pub fn build(self) -> Result<S3CatalogDeltaSource, BuildError>
Consumes the builder and constructs a S3CatalogDeltaSource
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3CatalogDeltaSourceBuilder
impl Clone for S3CatalogDeltaSourceBuilder
source§fn clone(&self) -> S3CatalogDeltaSourceBuilder
fn clone(&self) -> S3CatalogDeltaSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3CatalogDeltaSourceBuilder
impl Debug for S3CatalogDeltaSourceBuilder
source§impl Default for S3CatalogDeltaSourceBuilder
impl Default for S3CatalogDeltaSourceBuilder
source§fn default() -> S3CatalogDeltaSourceBuilder
fn default() -> S3CatalogDeltaSourceBuilder
source§impl PartialEq for S3CatalogDeltaSourceBuilder
impl PartialEq for S3CatalogDeltaSourceBuilder
source§fn eq(&self, other: &S3CatalogDeltaSourceBuilder) -> bool
fn eq(&self, other: &S3CatalogDeltaSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3CatalogDeltaSourceBuilder
Auto Trait Implementations§
impl Freeze for S3CatalogDeltaSourceBuilder
impl RefUnwindSafe for S3CatalogDeltaSourceBuilder
impl Send for S3CatalogDeltaSourceBuilder
impl Sync for S3CatalogDeltaSourceBuilder
impl Unpin for S3CatalogDeltaSourceBuilder
impl UnwindSafe for S3CatalogDeltaSourceBuilder
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