Struct aws_sdk_databrew::types::builders::DatabaseOutputBuilder
source · #[non_exhaustive]pub struct DatabaseOutputBuilder { /* private fields */ }
Expand description
A builder for DatabaseOutput
.
Implementations§
source§impl DatabaseOutputBuilder
impl DatabaseOutputBuilder
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_options(self, input: DatabaseTableOutputOptions) -> Self
pub fn database_options(self, input: DatabaseTableOutputOptions) -> Self
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
This field is required.sourcepub fn set_database_options(
self,
input: Option<DatabaseTableOutputOptions>,
) -> Self
pub fn set_database_options( self, input: Option<DatabaseTableOutputOptions>, ) -> Self
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
sourcepub fn get_database_options(&self) -> &Option<DatabaseTableOutputOptions>
pub fn get_database_options(&self) -> &Option<DatabaseTableOutputOptions>
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
sourcepub fn database_output_mode(self, input: DatabaseOutputMode) -> Self
pub fn database_output_mode(self, input: DatabaseOutputMode) -> Self
The output mode to write into the database. Currently supported option: NEW_TABLE.
sourcepub fn set_database_output_mode(self, input: Option<DatabaseOutputMode>) -> Self
pub fn set_database_output_mode(self, input: Option<DatabaseOutputMode>) -> Self
The output mode to write into the database. Currently supported option: NEW_TABLE.
sourcepub fn get_database_output_mode(&self) -> &Option<DatabaseOutputMode>
pub fn get_database_output_mode(&self) -> &Option<DatabaseOutputMode>
The output mode to write into the database. Currently supported option: NEW_TABLE.
sourcepub fn build(self) -> Result<DatabaseOutput, BuildError>
pub fn build(self) -> Result<DatabaseOutput, BuildError>
Consumes the builder and constructs a DatabaseOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DatabaseOutputBuilder
impl Clone for DatabaseOutputBuilder
source§fn clone(&self) -> DatabaseOutputBuilder
fn clone(&self) -> DatabaseOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatabaseOutputBuilder
impl Debug for DatabaseOutputBuilder
source§impl Default for DatabaseOutputBuilder
impl Default for DatabaseOutputBuilder
source§fn default() -> DatabaseOutputBuilder
fn default() -> DatabaseOutputBuilder
source§impl PartialEq for DatabaseOutputBuilder
impl PartialEq for DatabaseOutputBuilder
impl StructuralPartialEq for DatabaseOutputBuilder
Auto Trait Implementations§
impl Freeze for DatabaseOutputBuilder
impl RefUnwindSafe for DatabaseOutputBuilder
impl Send for DatabaseOutputBuilder
impl Sync for DatabaseOutputBuilder
impl Unpin for DatabaseOutputBuilder
impl UnwindSafe for DatabaseOutputBuilder
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