Struct aws_sdk_entityresolution::operation::update_schema_mapping::builders::UpdateSchemaMappingInputBuilder
source · #[non_exhaustive]pub struct UpdateSchemaMappingInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSchemaMappingInput
.
Implementations§
source§impl UpdateSchemaMappingInputBuilder
impl UpdateSchemaMappingInputBuilder
sourcepub fn schema_name(self, input: impl Into<String>) -> Self
pub fn schema_name(self, input: impl Into<String>) -> Self
The name of the schema. There can't be multiple SchemaMappings
with the same name.
sourcepub fn set_schema_name(self, input: Option<String>) -> Self
pub fn set_schema_name(self, input: Option<String>) -> Self
The name of the schema. There can't be multiple SchemaMappings
with the same name.
sourcepub fn get_schema_name(&self) -> &Option<String>
pub fn get_schema_name(&self) -> &Option<String>
The name of the schema. There can't be multiple SchemaMappings
with the same name.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the schema.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the schema.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the schema.
sourcepub fn mapped_input_fields(self, input: SchemaInputAttribute) -> Self
pub fn mapped_input_fields(self, input: SchemaInputAttribute) -> Self
Appends an item to mapped_input_fields
.
To override the contents of this collection use set_mapped_input_fields
.
A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.
sourcepub fn set_mapped_input_fields(
self,
input: Option<Vec<SchemaInputAttribute>>
) -> Self
pub fn set_mapped_input_fields( self, input: Option<Vec<SchemaInputAttribute>> ) -> Self
A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.
sourcepub fn get_mapped_input_fields(&self) -> &Option<Vec<SchemaInputAttribute>>
pub fn get_mapped_input_fields(&self) -> &Option<Vec<SchemaInputAttribute>>
A list of MappedInputFields
. Each MappedInputField
corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.
sourcepub fn build(self) -> Result<UpdateSchemaMappingInput, BuildError>
pub fn build(self) -> Result<UpdateSchemaMappingInput, BuildError>
Consumes the builder and constructs a UpdateSchemaMappingInput
.
source§impl UpdateSchemaMappingInputBuilder
impl UpdateSchemaMappingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSchemaMappingOutput, SdkError<UpdateSchemaMappingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSchemaMappingOutput, SdkError<UpdateSchemaMappingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSchemaMappingInputBuilder
impl Clone for UpdateSchemaMappingInputBuilder
source§fn clone(&self) -> UpdateSchemaMappingInputBuilder
fn clone(&self) -> UpdateSchemaMappingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateSchemaMappingInputBuilder
impl Default for UpdateSchemaMappingInputBuilder
source§fn default() -> UpdateSchemaMappingInputBuilder
fn default() -> UpdateSchemaMappingInputBuilder
source§impl PartialEq for UpdateSchemaMappingInputBuilder
impl PartialEq for UpdateSchemaMappingInputBuilder
source§fn eq(&self, other: &UpdateSchemaMappingInputBuilder) -> bool
fn eq(&self, other: &UpdateSchemaMappingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSchemaMappingInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSchemaMappingInputBuilder
impl RefUnwindSafe for UpdateSchemaMappingInputBuilder
impl Send for UpdateSchemaMappingInputBuilder
impl Sync for UpdateSchemaMappingInputBuilder
impl Unpin for UpdateSchemaMappingInputBuilder
impl UnwindSafe for UpdateSchemaMappingInputBuilder
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