Struct aws_sdk_glue::types::ConnectorDataSource
source · #[non_exhaustive]pub struct ConnectorDataSource {
pub name: String,
pub connection_type: String,
pub data: HashMap<String, String>,
pub output_schemas: Option<Vec<GlueSchema>>,
}Expand description
Specifies a source generated with standard connection options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name of this source node.
connection_type: StringThe connectionType, as provided to the underlying Glue library. This node type supports the following connection types:
-
bigquery
data: HashMap<String, String>A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.
output_schemas: Option<Vec<GlueSchema>>Specifies the data schema for this source.
Implementations§
source§impl ConnectorDataSource
impl ConnectorDataSource
sourcepub fn connection_type(&self) -> &str
pub fn connection_type(&self) -> &str
The connectionType, as provided to the underlying Glue library. This node type supports the following connection types:
-
bigquery
sourcepub fn data(&self) -> &HashMap<String, String>
pub fn data(&self) -> &HashMap<String, String>
A map specifying connection options for the node. You can find standard connection options for the corresponding connection type in the Connection parameters section of the Glue documentation.
sourcepub fn output_schemas(&self) -> &[GlueSchema]
pub fn output_schemas(&self) -> &[GlueSchema]
Specifies the data schema for this source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_schemas.is_none().
source§impl ConnectorDataSource
impl ConnectorDataSource
sourcepub fn builder() -> ConnectorDataSourceBuilder
pub fn builder() -> ConnectorDataSourceBuilder
Creates a new builder-style object to manufacture ConnectorDataSource.
Trait Implementations§
source§impl Clone for ConnectorDataSource
impl Clone for ConnectorDataSource
source§fn clone(&self) -> ConnectorDataSource
fn clone(&self) -> ConnectorDataSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConnectorDataSource
impl Debug for ConnectorDataSource
source§impl PartialEq for ConnectorDataSource
impl PartialEq for ConnectorDataSource
source§fn eq(&self, other: &ConnectorDataSource) -> bool
fn eq(&self, other: &ConnectorDataSource) -> bool
self and other values to be equal, and is used
by ==.