Struct aws_sdk_glue::types::builders::DirectJdbcSourceBuilder
source · #[non_exhaustive]pub struct DirectJdbcSourceBuilder { /* private fields */ }Expand description
A builder for DirectJdbcSource.
Implementations§
source§impl DirectJdbcSourceBuilder
impl DirectJdbcSourceBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the JDBC source connection.
This field is required.sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
The database of the JDBC source connection.
This field is required.sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The database of the JDBC source connection.
sourcepub fn get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
The database of the JDBC source connection.
sourcepub fn table(self, input: impl Into<String>) -> Self
pub fn table(self, input: impl Into<String>) -> Self
The table of the JDBC source connection.
This field is required.sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The connection name of the JDBC source.
This field is required.sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The connection name of the JDBC source.
sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
The connection name of the JDBC source.
sourcepub fn connection_type(self, input: JdbcConnectionType) -> Self
pub fn connection_type(self, input: JdbcConnectionType) -> Self
The connection type of the JDBC source.
This field is required.sourcepub fn set_connection_type(self, input: Option<JdbcConnectionType>) -> Self
pub fn set_connection_type(self, input: Option<JdbcConnectionType>) -> Self
The connection type of the JDBC source.
sourcepub fn get_connection_type(&self) -> &Option<JdbcConnectionType>
pub fn get_connection_type(&self) -> &Option<JdbcConnectionType>
The connection type of the JDBC source.
sourcepub fn redshift_tmp_dir(self, input: impl Into<String>) -> Self
pub fn redshift_tmp_dir(self, input: impl Into<String>) -> Self
The temp directory of the JDBC Redshift source.
sourcepub fn set_redshift_tmp_dir(self, input: Option<String>) -> Self
pub fn set_redshift_tmp_dir(self, input: Option<String>) -> Self
The temp directory of the JDBC Redshift source.
sourcepub fn get_redshift_tmp_dir(&self) -> &Option<String>
pub fn get_redshift_tmp_dir(&self) -> &Option<String>
The temp directory of the JDBC Redshift source.
sourcepub fn build(self) -> Result<DirectJdbcSource, BuildError>
pub fn build(self) -> Result<DirectJdbcSource, BuildError>
Consumes the builder and constructs a DirectJdbcSource.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DirectJdbcSourceBuilder
impl Clone for DirectJdbcSourceBuilder
source§fn clone(&self) -> DirectJdbcSourceBuilder
fn clone(&self) -> DirectJdbcSourceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DirectJdbcSourceBuilder
impl Debug for DirectJdbcSourceBuilder
source§impl Default for DirectJdbcSourceBuilder
impl Default for DirectJdbcSourceBuilder
source§fn default() -> DirectJdbcSourceBuilder
fn default() -> DirectJdbcSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DirectJdbcSourceBuilder
impl PartialEq for DirectJdbcSourceBuilder
source§fn eq(&self, other: &DirectJdbcSourceBuilder) -> bool
fn eq(&self, other: &DirectJdbcSourceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DirectJdbcSourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DirectJdbcSourceBuilder
impl Send for DirectJdbcSourceBuilder
impl Sync for DirectJdbcSourceBuilder
impl Unpin for DirectJdbcSourceBuilder
impl UnwindSafe for DirectJdbcSourceBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.