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