Struct aws_sdk_glue::model::spark_connector_source::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for SparkConnectorSource.
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.spark or custom.spark, designating a connection to an Apache Spark 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.spark or custom.spark, designating a connection to an Apache Spark data store.
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 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 data schema for the custom spark source.
sourcepub fn set_output_schemas(self, input: Option<Vec<GlueSchema>>) -> Self
pub fn set_output_schemas(self, input: Option<Vec<GlueSchema>>) -> Self
Specifies data schema for the custom spark source.
sourcepub fn build(self) -> SparkConnectorSource
pub fn build(self) -> SparkConnectorSource
Consumes the builder and constructs a SparkConnectorSource.