Struct aws_sdk_glue::model::spark_connector_target::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for SparkConnectorTarget.
Implementations§
source§impl Builder
impl Builder
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 connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of a connection for an Apache Spark connector.
sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of a connection for an Apache Spark connector.
sourcepub fn connector_name(self, input: impl Into<String>) -> Self
pub fn connector_name(self, input: impl Into<String>) -> Self
The name of an Apache Spark connector.
sourcepub fn set_connector_name(self, input: Option<String>) -> Self
pub fn set_connector_name(self, input: Option<String>) -> Self
The name of an Apache Spark connector.
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 the data schema for the custom spark 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 custom spark target.
sourcepub fn build(self) -> SparkConnectorTarget
pub fn build(self) -> SparkConnectorTarget
Consumes the builder and constructs a SparkConnectorTarget.