#[non_exhaustive]pub struct DatabaseInputDefinitionBuilder { /* private fields */ }
Expand description
A builder for DatabaseInputDefinition
.
Implementations§
source§impl DatabaseInputDefinitionBuilder
impl DatabaseInputDefinitionBuilder
sourcepub fn glue_connection_name(self, input: impl Into<String>) -> Self
pub fn glue_connection_name(self, input: impl Into<String>) -> Self
The Glue Connection that stores the connection information for the target database.
This field is required.sourcepub fn set_glue_connection_name(self, input: Option<String>) -> Self
pub fn set_glue_connection_name(self, input: Option<String>) -> Self
The Glue Connection that stores the connection information for the target database.
sourcepub fn get_glue_connection_name(&self) -> &Option<String>
pub fn get_glue_connection_name(&self) -> &Option<String>
The Glue Connection that stores the connection information for the target database.
sourcepub fn database_table_name(self, input: impl Into<String>) -> Self
pub fn database_table_name(self, input: impl Into<String>) -> Self
The table within the target database.
sourcepub fn set_database_table_name(self, input: Option<String>) -> Self
pub fn set_database_table_name(self, input: Option<String>) -> Self
The table within the target database.
sourcepub fn get_database_table_name(&self) -> &Option<String>
pub fn get_database_table_name(&self) -> &Option<String>
The table within the target database.
sourcepub fn temp_directory(self, input: S3Location) -> Self
pub fn temp_directory(self, input: S3Location) -> Self
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 set_temp_directory(self, input: Option<S3Location>) -> Self
pub fn set_temp_directory(self, input: Option<S3Location>) -> Self
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 get_temp_directory(&self) -> &Option<S3Location>
pub fn get_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, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
Custom SQL to run against the provided Glue connection. This SQL will be used as the input for DataBrew projects and jobs.
sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
Custom SQL to run against the provided Glue connection. This SQL will be used as the input for DataBrew projects and jobs.
sourcepub fn get_query_string(&self) -> &Option<String>
pub fn get_query_string(&self) -> &Option<String>
Custom SQL to run against the provided Glue connection. This SQL will be used as the input for DataBrew projects and jobs.
sourcepub fn build(self) -> Result<DatabaseInputDefinition, BuildError>
pub fn build(self) -> Result<DatabaseInputDefinition, BuildError>
Consumes the builder and constructs a DatabaseInputDefinition
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DatabaseInputDefinitionBuilder
impl Clone for DatabaseInputDefinitionBuilder
source§fn clone(&self) -> DatabaseInputDefinitionBuilder
fn clone(&self) -> DatabaseInputDefinitionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DatabaseInputDefinitionBuilder
impl Default for DatabaseInputDefinitionBuilder
source§fn default() -> DatabaseInputDefinitionBuilder
fn default() -> DatabaseInputDefinitionBuilder
source§impl PartialEq for DatabaseInputDefinitionBuilder
impl PartialEq for DatabaseInputDefinitionBuilder
source§fn eq(&self, other: &DatabaseInputDefinitionBuilder) -> bool
fn eq(&self, other: &DatabaseInputDefinitionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.