Struct aws_sdk_glue::types::SparkConnectorTarget
source · #[non_exhaustive]pub struct SparkConnectorTarget {
pub name: String,
pub inputs: Vec<String>,
pub connection_name: String,
pub connector_name: String,
pub connection_type: String,
pub additional_options: Option<HashMap<String, String>>,
pub output_schemas: Option<Vec<GlueSchema>>,
}
Expand description
Specifies a target that uses an Apache Spark connector.
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 the data target.
inputs: Vec<String>
The nodes that are inputs to the data target.
connection_name: String
The name of a connection for an Apache Spark connector.
connector_name: String
The name of an Apache Spark connector.
connection_type: String
The type of connection, such as marketplace.spark or custom.spark, designating a connection to an Apache Spark data store.
additional_options: Option<HashMap<String, String>>
Additional connection options for the connector.
output_schemas: Option<Vec<GlueSchema>>
Specifies the data schema for the custom spark target.
Implementations§
source§impl SparkConnectorTarget
impl SparkConnectorTarget
sourcepub fn connection_name(&self) -> &str
pub fn connection_name(&self) -> &str
The name of a connection for an Apache Spark connector.
sourcepub fn connector_name(&self) -> &str
pub fn connector_name(&self) -> &str
The name of an Apache Spark connector.
sourcepub fn connection_type(&self) -> &str
pub fn connection_type(&self) -> &str
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) -> Option<&HashMap<String, String>>
pub fn additional_options(&self) -> Option<&HashMap<String, String>>
Additional connection options for the connector.
sourcepub fn output_schemas(&self) -> &[GlueSchema]
pub fn output_schemas(&self) -> &[GlueSchema]
Specifies the data schema for the custom spark target.
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 SparkConnectorTarget
impl SparkConnectorTarget
sourcepub fn builder() -> SparkConnectorTargetBuilder
pub fn builder() -> SparkConnectorTargetBuilder
Creates a new builder-style object to manufacture SparkConnectorTarget
.
Trait Implementations§
source§impl Clone for SparkConnectorTarget
impl Clone for SparkConnectorTarget
source§fn clone(&self) -> SparkConnectorTarget
fn clone(&self) -> SparkConnectorTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SparkConnectorTarget
impl Debug for SparkConnectorTarget
source§impl PartialEq for SparkConnectorTarget
impl PartialEq for SparkConnectorTarget
source§fn eq(&self, other: &SparkConnectorTarget) -> bool
fn eq(&self, other: &SparkConnectorTarget) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SparkConnectorTarget
Auto Trait Implementations§
impl Freeze for SparkConnectorTarget
impl RefUnwindSafe for SparkConnectorTarget
impl Send for SparkConnectorTarget
impl Sync for SparkConnectorTarget
impl Unpin for SparkConnectorTarget
impl UnwindSafe for SparkConnectorTarget
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