Struct aws_sdk_glue::types::builders::JdbcConnectorTargetBuilder
source · #[non_exhaustive]pub struct JdbcConnectorTargetBuilder { /* private fields */ }
Expand description
A builder for JdbcConnectorTarget
.
Implementations§
source§impl JdbcConnectorTargetBuilder
impl JdbcConnectorTargetBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the data target.
This field is required.sourcepub fn inputs(self, input: impl Into<String>) -> Self
pub fn inputs(self, input: impl Into<String>) -> Self
Appends an item to inputs
.
To override the contents of this collection use set_inputs
.
The nodes that are inputs to the data target.
sourcepub fn set_inputs(self, input: Option<Vec<String>>) -> Self
pub fn set_inputs(self, input: Option<Vec<String>>) -> Self
The nodes that are inputs to the data target.
sourcepub fn get_inputs(&self) -> &Option<Vec<String>>
pub fn get_inputs(&self) -> &Option<Vec<String>>
The nodes that are inputs to the data target.
sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of the connection that is associated with the connector.
This field is required.sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of the connection that is associated with the connector.
sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
The name of the connection that is associated with the connector.
sourcepub fn connection_table(self, input: impl Into<String>) -> Self
pub fn connection_table(self, input: impl Into<String>) -> Self
The name of the table in the data target.
This field is required.sourcepub fn set_connection_table(self, input: Option<String>) -> Self
pub fn set_connection_table(self, input: Option<String>) -> Self
The name of the table in the data target.
sourcepub fn get_connection_table(&self) -> &Option<String>
pub fn get_connection_table(&self) -> &Option<String>
The name of the table in the data target.
sourcepub fn connector_name(self, input: impl Into<String>) -> Self
pub fn connector_name(self, input: impl Into<String>) -> Self
The name of a connector that will be used.
This field is required.sourcepub fn set_connector_name(self, input: Option<String>) -> Self
pub fn set_connector_name(self, input: Option<String>) -> Self
The name of a connector that will be used.
sourcepub fn get_connector_name(&self) -> &Option<String>
pub fn get_connector_name(&self) -> &Option<String>
The name of a connector that will be used.
sourcepub fn connection_type(self, input: impl Into<String>) -> Self
pub fn connection_type(self, input: impl Into<String>) -> Self
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data target.
This field is required.sourcepub fn set_connection_type(self, input: Option<String>) -> Self
pub fn set_connection_type(self, input: Option<String>) -> Self
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data target.
sourcepub fn get_connection_type(&self) -> &Option<String>
pub fn get_connection_type(&self) -> &Option<String>
The type of connection, such as marketplace.jdbc or custom.jdbc, designating a connection to a JDBC data target.
sourcepub fn additional_options(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn additional_options( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to additional_options
.
To override the contents of this collection use set_additional_options
.
Additional connection options for the connector.
sourcepub fn set_additional_options(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_additional_options( self, input: Option<HashMap<String, String>>, ) -> Self
Additional connection options for the connector.
sourcepub fn get_additional_options(&self) -> &Option<HashMap<String, String>>
pub fn get_additional_options(&self) -> &Option<HashMap<String, String>>
Additional connection options for the connector.
sourcepub fn output_schemas(self, input: GlueSchema) -> Self
pub fn output_schemas(self, input: GlueSchema) -> Self
Appends an item to output_schemas
.
To override the contents of this collection use set_output_schemas
.
Specifies the data schema for the JDBC target.
sourcepub fn set_output_schemas(self, input: Option<Vec<GlueSchema>>) -> Self
pub fn set_output_schemas(self, input: Option<Vec<GlueSchema>>) -> Self
Specifies the data schema for the JDBC target.
sourcepub fn get_output_schemas(&self) -> &Option<Vec<GlueSchema>>
pub fn get_output_schemas(&self) -> &Option<Vec<GlueSchema>>
Specifies the data schema for the JDBC target.
sourcepub fn build(self) -> Result<JdbcConnectorTarget, BuildError>
pub fn build(self) -> Result<JdbcConnectorTarget, BuildError>
Consumes the builder and constructs a JdbcConnectorTarget
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for JdbcConnectorTargetBuilder
impl Clone for JdbcConnectorTargetBuilder
source§fn clone(&self) -> JdbcConnectorTargetBuilder
fn clone(&self) -> JdbcConnectorTargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JdbcConnectorTargetBuilder
impl Debug for JdbcConnectorTargetBuilder
source§impl Default for JdbcConnectorTargetBuilder
impl Default for JdbcConnectorTargetBuilder
source§fn default() -> JdbcConnectorTargetBuilder
fn default() -> JdbcConnectorTargetBuilder
source§impl PartialEq for JdbcConnectorTargetBuilder
impl PartialEq for JdbcConnectorTargetBuilder
source§fn eq(&self, other: &JdbcConnectorTargetBuilder) -> bool
fn eq(&self, other: &JdbcConnectorTargetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for JdbcConnectorTargetBuilder
Auto Trait Implementations§
impl Freeze for JdbcConnectorTargetBuilder
impl RefUnwindSafe for JdbcConnectorTargetBuilder
impl Send for JdbcConnectorTargetBuilder
impl Sync for JdbcConnectorTargetBuilder
impl Unpin for JdbcConnectorTargetBuilder
impl UnwindSafe for JdbcConnectorTargetBuilder
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> 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