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 ==
.