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