Struct aws_sdk_glue::types::builders::CatalogDeltaSourceBuilder
source · #[non_exhaustive]pub struct CatalogDeltaSourceBuilder { /* private fields */ }
Expand description
A builder for CatalogDeltaSource
.
Implementations§
source§impl CatalogDeltaSourceBuilder
impl CatalogDeltaSourceBuilder
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<CatalogDeltaSource, BuildError>
pub fn build(self) -> Result<CatalogDeltaSource, BuildError>
Consumes the builder and constructs a CatalogDeltaSource
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CatalogDeltaSourceBuilder
impl Clone for CatalogDeltaSourceBuilder
source§fn clone(&self) -> CatalogDeltaSourceBuilder
fn clone(&self) -> CatalogDeltaSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CatalogDeltaSourceBuilder
impl Debug for CatalogDeltaSourceBuilder
source§impl Default for CatalogDeltaSourceBuilder
impl Default for CatalogDeltaSourceBuilder
source§fn default() -> CatalogDeltaSourceBuilder
fn default() -> CatalogDeltaSourceBuilder
source§impl PartialEq for CatalogDeltaSourceBuilder
impl PartialEq for CatalogDeltaSourceBuilder
source§fn eq(&self, other: &CatalogDeltaSourceBuilder) -> bool
fn eq(&self, other: &CatalogDeltaSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CatalogDeltaSourceBuilder
Auto Trait Implementations§
impl Freeze for CatalogDeltaSourceBuilder
impl RefUnwindSafe for CatalogDeltaSourceBuilder
impl Send for CatalogDeltaSourceBuilder
impl Sync for CatalogDeltaSourceBuilder
impl Unpin for CatalogDeltaSourceBuilder
impl UnwindSafe for CatalogDeltaSourceBuilder
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