Struct aws_sdk_databrew::types::DatabaseInputDefinition
source · #[non_exhaustive]pub struct DatabaseInputDefinition {
pub glue_connection_name: String,
pub database_table_name: Option<String>,
pub temp_directory: Option<S3Location>,
pub query_string: Option<String>,
}
Expand description
Connection information for dataset input files stored in a database.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.glue_connection_name: String
The Glue Connection that stores the connection information for the target database.
database_table_name: Option<String>
The table within the target database.
temp_directory: Option<S3Location>
Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.
query_string: Option<String>
Custom SQL to run against the provided Glue connection. This SQL will be used as the input for DataBrew projects and jobs.
Implementations§
source§impl DatabaseInputDefinition
impl DatabaseInputDefinition
sourcepub fn glue_connection_name(&self) -> &str
pub fn glue_connection_name(&self) -> &str
The Glue Connection that stores the connection information for the target database.
sourcepub fn database_table_name(&self) -> Option<&str>
pub fn database_table_name(&self) -> Option<&str>
The table within the target database.
sourcepub fn temp_directory(&self) -> Option<&S3Location>
pub fn temp_directory(&self) -> Option<&S3Location>
Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.
sourcepub fn query_string(&self) -> Option<&str>
pub fn query_string(&self) -> Option<&str>
Custom SQL to run against the provided Glue connection. This SQL will be used as the input for DataBrew projects and jobs.
source§impl DatabaseInputDefinition
impl DatabaseInputDefinition
sourcepub fn builder() -> DatabaseInputDefinitionBuilder
pub fn builder() -> DatabaseInputDefinitionBuilder
Creates a new builder-style object to manufacture DatabaseInputDefinition
.
Trait Implementations§
source§impl Clone for DatabaseInputDefinition
impl Clone for DatabaseInputDefinition
source§fn clone(&self) -> DatabaseInputDefinition
fn clone(&self) -> DatabaseInputDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatabaseInputDefinition
impl Debug for DatabaseInputDefinition
source§impl PartialEq for DatabaseInputDefinition
impl PartialEq for DatabaseInputDefinition
impl StructuralPartialEq for DatabaseInputDefinition
Auto Trait Implementations§
impl Freeze for DatabaseInputDefinition
impl RefUnwindSafe for DatabaseInputDefinition
impl Send for DatabaseInputDefinition
impl Sync for DatabaseInputDefinition
impl Unpin for DatabaseInputDefinition
impl UnwindSafe for DatabaseInputDefinition
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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