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: String
The name of this source node.
connection_type: String
The connectionType
, as provided to the underlying Glue library. This node type supports the following connection types:
-
opensearch
-
azuresql
-
azurecosmos
-
bigquery
-
saphana
-
teradata
-
vertica
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:
-
opensearch
-
azuresql
-
azurecosmos
-
bigquery
-
saphana
-
teradata
-
vertica
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 ==
.impl StructuralPartialEq for ConnectorDataSource
Auto Trait Implementations§
impl Freeze for ConnectorDataSource
impl RefUnwindSafe for ConnectorDataSource
impl Send for ConnectorDataSource
impl Sync for ConnectorDataSource
impl Unpin for ConnectorDataSource
impl UnwindSafe for ConnectorDataSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more