Struct aws_sdk_glue::types::DirectJdbcSource
source · #[non_exhaustive]pub struct DirectJdbcSource {
pub name: String,
pub database: String,
pub table: String,
pub connection_name: String,
pub connection_type: JdbcConnectionType,
pub redshift_tmp_dir: Option<String>,
}Expand description
Specifies the direct JDBC source connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name of the JDBC source connection.
database: StringThe database of the JDBC source connection.
table: StringThe table of the JDBC source connection.
connection_name: StringThe connection name of the JDBC source.
connection_type: JdbcConnectionTypeThe connection type of the JDBC source.
redshift_tmp_dir: Option<String>The temp directory of the JDBC Redshift source.
Implementations§
source§impl DirectJdbcSource
impl DirectJdbcSource
sourcepub fn connection_name(&self) -> &str
pub fn connection_name(&self) -> &str
The connection name of the JDBC source.
sourcepub fn connection_type(&self) -> &JdbcConnectionType
pub fn connection_type(&self) -> &JdbcConnectionType
The connection type of the JDBC source.
sourcepub fn redshift_tmp_dir(&self) -> Option<&str>
pub fn redshift_tmp_dir(&self) -> Option<&str>
The temp directory of the JDBC Redshift source.
source§impl DirectJdbcSource
impl DirectJdbcSource
sourcepub fn builder() -> DirectJdbcSourceBuilder
pub fn builder() -> DirectJdbcSourceBuilder
Creates a new builder-style object to manufacture DirectJdbcSource.
Trait Implementations§
source§impl Clone for DirectJdbcSource
impl Clone for DirectJdbcSource
source§fn clone(&self) -> DirectJdbcSource
fn clone(&self) -> DirectJdbcSource
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 DirectJdbcSource
impl Debug for DirectJdbcSource
source§impl PartialEq for DirectJdbcSource
impl PartialEq for DirectJdbcSource
impl StructuralPartialEq for DirectJdbcSource
Auto Trait Implementations§
impl Freeze for DirectJdbcSource
impl RefUnwindSafe for DirectJdbcSource
impl Send for DirectJdbcSource
impl Sync for DirectJdbcSource
impl Unpin for DirectJdbcSource
impl UnwindSafe for DirectJdbcSource
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.