Struct aws_sdk_glue::model::athena_connector_source::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AthenaConnectorSource.
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.athena or custom.athena, designating a connection to an Amazon Athena 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.athena or custom.athena, designating a connection to an Amazon Athena data store.
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 schema_name(self, input: impl Into<String>) -> Self
pub fn schema_name(self, input: impl Into<String>) -> Self
The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output.
sourcepub fn set_schema_name(self, input: Option<String>) -> Self
pub fn set_schema_name(self, input: Option<String>) -> Self
The name of the Cloudwatch log group to read from. For example, /aws-glue/jobs/output.
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 Athena 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 Athena source.
sourcepub fn build(self) -> AthenaConnectorSource
pub fn build(self) -> AthenaConnectorSource
Consumes the builder and constructs a AthenaConnectorSource.