Struct aws_sdk_glue::types::builders::ConnectorDataTargetBuilder
source · #[non_exhaustive]pub struct ConnectorDataTargetBuilder { /* private fields */ }
Expand description
A builder for ConnectorDataTarget
.
Implementations§
source§impl ConnectorDataTargetBuilder
impl ConnectorDataTargetBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of this target node.
This field is required.sourcepub fn connection_type(self, input: impl Into<String>) -> Self
pub fn connection_type(self, input: impl Into<String>) -> Self
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 set_connection_type(self, input: Option<String>) -> Self
pub fn set_connection_type(self, input: Option<String>) -> Self
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 get_connection_type(&self) -> &Option<String>
pub fn get_connection_type(&self) -> &Option<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
sourcepub fn data(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn data(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to data
.
To override the contents of this collection use set_data
.
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 set_data(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_data(self, input: Option<HashMap<String, String>>) -> Self
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 get_data(&self) -> &Option<HashMap<String, String>>
pub fn get_data(&self) -> &Option<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 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 get_inputs(&self) -> &Option<Vec<String>>
pub fn get_inputs(&self) -> &Option<Vec<String>>
The nodes that are inputs to the data target.
sourcepub fn build(self) -> Result<ConnectorDataTarget, BuildError>
pub fn build(self) -> Result<ConnectorDataTarget, BuildError>
Consumes the builder and constructs a ConnectorDataTarget
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ConnectorDataTargetBuilder
impl Clone for ConnectorDataTargetBuilder
source§fn clone(&self) -> ConnectorDataTargetBuilder
fn clone(&self) -> ConnectorDataTargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConnectorDataTargetBuilder
impl Debug for ConnectorDataTargetBuilder
source§impl Default for ConnectorDataTargetBuilder
impl Default for ConnectorDataTargetBuilder
source§fn default() -> ConnectorDataTargetBuilder
fn default() -> ConnectorDataTargetBuilder
source§impl PartialEq for ConnectorDataTargetBuilder
impl PartialEq for ConnectorDataTargetBuilder
source§fn eq(&self, other: &ConnectorDataTargetBuilder) -> bool
fn eq(&self, other: &ConnectorDataTargetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectorDataTargetBuilder
Auto Trait Implementations§
impl Freeze for ConnectorDataTargetBuilder
impl RefUnwindSafe for ConnectorDataTargetBuilder
impl Send for ConnectorDataTargetBuilder
impl Sync for ConnectorDataTargetBuilder
impl Unpin for ConnectorDataTargetBuilder
impl UnwindSafe for ConnectorDataTargetBuilder
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