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
source§fn eq(&self, other: &DatabaseInputDefinition) -> bool
fn eq(&self, other: &DatabaseInputDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.