#[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 ==
.impl StructuralPartialEq for DatabaseInputDefinitionBuilder
Auto Trait Implementations§
impl Freeze for DatabaseInputDefinitionBuilder
impl RefUnwindSafe for DatabaseInputDefinitionBuilder
impl Send for DatabaseInputDefinitionBuilder
impl Sync for DatabaseInputDefinitionBuilder
impl Unpin for DatabaseInputDefinitionBuilder
impl UnwindSafe for DatabaseInputDefinitionBuilder
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