Struct aws_sdk_glue::operation::get_mapping::builders::GetMappingInputBuilder
source · #[non_exhaustive]pub struct GetMappingInputBuilder { /* private fields */ }Expand description
A builder for GetMappingInput.
Implementations§
source§impl GetMappingInputBuilder
impl GetMappingInputBuilder
sourcepub fn source(self, input: CatalogEntry) -> Self
pub fn source(self, input: CatalogEntry) -> Self
Specifies the source table.
This field is required.sourcepub fn set_source(self, input: Option<CatalogEntry>) -> Self
pub fn set_source(self, input: Option<CatalogEntry>) -> Self
Specifies the source table.
sourcepub fn get_source(&self) -> &Option<CatalogEntry>
pub fn get_source(&self) -> &Option<CatalogEntry>
Specifies the source table.
sourcepub fn sinks(self, input: CatalogEntry) -> Self
pub fn sinks(self, input: CatalogEntry) -> Self
Appends an item to sinks.
To override the contents of this collection use set_sinks.
A list of target tables.
sourcepub fn set_sinks(self, input: Option<Vec<CatalogEntry>>) -> Self
pub fn set_sinks(self, input: Option<Vec<CatalogEntry>>) -> Self
A list of target tables.
sourcepub fn get_sinks(&self) -> &Option<Vec<CatalogEntry>>
pub fn get_sinks(&self) -> &Option<Vec<CatalogEntry>>
A list of target tables.
sourcepub fn set_location(self, input: Option<Location>) -> Self
pub fn set_location(self, input: Option<Location>) -> Self
Parameters for the mapping.
sourcepub fn get_location(&self) -> &Option<Location>
pub fn get_location(&self) -> &Option<Location>
Parameters for the mapping.
sourcepub fn build(self) -> Result<GetMappingInput, BuildError>
pub fn build(self) -> Result<GetMappingInput, BuildError>
Consumes the builder and constructs a GetMappingInput.
source§impl GetMappingInputBuilder
impl GetMappingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetMappingOutput, SdkError<GetMappingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetMappingOutput, SdkError<GetMappingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetMappingInputBuilder
impl Clone for GetMappingInputBuilder
source§fn clone(&self) -> GetMappingInputBuilder
fn clone(&self) -> GetMappingInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetMappingInputBuilder
impl Debug for GetMappingInputBuilder
source§impl Default for GetMappingInputBuilder
impl Default for GetMappingInputBuilder
source§fn default() -> GetMappingInputBuilder
fn default() -> GetMappingInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetMappingInputBuilder
impl PartialEq for GetMappingInputBuilder
source§fn eq(&self, other: &GetMappingInputBuilder) -> bool
fn eq(&self, other: &GetMappingInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetMappingInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetMappingInputBuilder
impl Send for GetMappingInputBuilder
impl Sync for GetMappingInputBuilder
impl Unpin for GetMappingInputBuilder
impl UnwindSafe for GetMappingInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.