Struct aws_sdk_glue::model::jdbc_connector_source::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for JdbcConnectorSource.
Implementations§
source§impl Builder
impl Builder
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.
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 connector_name(self, input: impl Into<String>) -> Self
pub fn connector_name(self, input: impl Into<String>) -> Self
The name of a connector that assists with accessing the data store in Glue Studio.
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 assists with accessing the data store in Glue Studio.
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 store.
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 store.
sourcepub fn additional_options(self, input: JdbcConnectorOptions) -> Self
pub fn additional_options(self, input: JdbcConnectorOptions) -> Self
Additional connection options for the connector.
sourcepub fn set_additional_options(self, input: Option<JdbcConnectorOptions>) -> Self
pub fn set_additional_options(self, input: Option<JdbcConnectorOptions>) -> Self
Additional connection options for 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 source.
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 source.
sourcepub fn query(self, input: impl Into<String>) -> Self
pub fn query(self, input: impl Into<String>) -> Self
The table or SQL query to get the data from. You can specify either ConnectionTable or query, but not both.
sourcepub fn set_query(self, input: Option<String>) -> Self
pub fn set_query(self, input: Option<String>) -> Self
The table or SQL query to get the data from. You can specify either ConnectionTable or query, but not both.
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 custom JDBC source.
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 custom JDBC source.
sourcepub fn build(self) -> JdbcConnectorSource
pub fn build(self) -> JdbcConnectorSource
Consumes the builder and constructs a JdbcConnectorSource.