Struct aws_sdk_glue::types::builders::ApplyMappingBuilder
source · #[non_exhaustive]pub struct ApplyMappingBuilder { /* private fields */ }Expand description
A builder for ApplyMapping.
Implementations§
source§impl ApplyMappingBuilder
impl ApplyMappingBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the transform node.
This field is required.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 data inputs identified by their node names.
sourcepub fn set_inputs(self, input: Option<Vec<String>>) -> Self
pub fn set_inputs(self, input: Option<Vec<String>>) -> Self
The data inputs identified by their node names.
sourcepub fn get_inputs(&self) -> &Option<Vec<String>>
pub fn get_inputs(&self) -> &Option<Vec<String>>
The data inputs identified by their node names.
sourcepub fn mapping(self, input: Mapping) -> Self
pub fn mapping(self, input: Mapping) -> Self
Appends an item to mapping.
To override the contents of this collection use set_mapping.
Specifies the mapping of data property keys in the data source to data property keys in the data target.
sourcepub fn set_mapping(self, input: Option<Vec<Mapping>>) -> Self
pub fn set_mapping(self, input: Option<Vec<Mapping>>) -> Self
Specifies the mapping of data property keys in the data source to data property keys in the data target.
sourcepub fn get_mapping(&self) -> &Option<Vec<Mapping>>
pub fn get_mapping(&self) -> &Option<Vec<Mapping>>
Specifies the mapping of data property keys in the data source to data property keys in the data target.
sourcepub fn build(self) -> Result<ApplyMapping, BuildError>
pub fn build(self) -> Result<ApplyMapping, BuildError>
Consumes the builder and constructs a ApplyMapping.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ApplyMappingBuilder
impl Clone for ApplyMappingBuilder
source§fn clone(&self) -> ApplyMappingBuilder
fn clone(&self) -> ApplyMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ApplyMappingBuilder
impl Debug for ApplyMappingBuilder
source§impl Default for ApplyMappingBuilder
impl Default for ApplyMappingBuilder
source§fn default() -> ApplyMappingBuilder
fn default() -> ApplyMappingBuilder
source§impl PartialEq for ApplyMappingBuilder
impl PartialEq for ApplyMappingBuilder
source§fn eq(&self, other: &ApplyMappingBuilder) -> bool
fn eq(&self, other: &ApplyMappingBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ApplyMappingBuilder
Auto Trait Implementations§
impl Freeze for ApplyMappingBuilder
impl RefUnwindSafe for ApplyMappingBuilder
impl Send for ApplyMappingBuilder
impl Sync for ApplyMappingBuilder
impl Unpin for ApplyMappingBuilder
impl UnwindSafe for ApplyMappingBuilder
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