Struct aws_sdk_entityresolution::operation::create_schema_mapping::builders::CreateSchemaMappingInputBuilder
source · #[non_exhaustive]pub struct CreateSchemaMappingInputBuilder { /* private fields */ }
Expand description
A builder for CreateSchemaMappingInput
.
Implementations§
source§impl CreateSchemaMappingInputBuilder
impl CreateSchemaMappingInputBuilder
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
The tags used to organize, track, or control access for this resource.
sourcepub fn build(self) -> Result<CreateSchemaMappingInput, BuildError>
pub fn build(self) -> Result<CreateSchemaMappingInput, BuildError>
Consumes the builder and constructs a CreateSchemaMappingInput
.
source§impl CreateSchemaMappingInputBuilder
impl CreateSchemaMappingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSchemaMappingOutput, SdkError<CreateSchemaMappingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSchemaMappingOutput, SdkError<CreateSchemaMappingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSchemaMappingInputBuilder
impl Clone for CreateSchemaMappingInputBuilder
source§fn clone(&self) -> CreateSchemaMappingInputBuilder
fn clone(&self) -> CreateSchemaMappingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSchemaMappingInputBuilder
impl Default for CreateSchemaMappingInputBuilder
source§fn default() -> CreateSchemaMappingInputBuilder
fn default() -> CreateSchemaMappingInputBuilder
source§impl PartialEq for CreateSchemaMappingInputBuilder
impl PartialEq for CreateSchemaMappingInputBuilder
source§fn eq(&self, other: &CreateSchemaMappingInputBuilder) -> bool
fn eq(&self, other: &CreateSchemaMappingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSchemaMappingInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSchemaMappingInputBuilder
impl RefUnwindSafe for CreateSchemaMappingInputBuilder
impl Send for CreateSchemaMappingInputBuilder
impl Sync for CreateSchemaMappingInputBuilder
impl Unpin for CreateSchemaMappingInputBuilder
impl UnwindSafe for CreateSchemaMappingInputBuilder
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