#[non_exhaustive]pub struct InputSourceBuilder { /* private fields */ }Expand description
A builder for InputSource.
Implementations§
source§impl InputSourceBuilder
impl InputSourceBuilder
sourcepub fn input_source_arn(self, input: impl Into<String>) -> Self
pub fn input_source_arn(self, input: impl Into<String>) -> Self
An Glue table Amazon Resource Name (ARN) for the input source table.
This field is required.sourcepub fn set_input_source_arn(self, input: Option<String>) -> Self
pub fn set_input_source_arn(self, input: Option<String>) -> Self
An Glue table Amazon Resource Name (ARN) for the input source table.
sourcepub fn get_input_source_arn(&self) -> &Option<String>
pub fn get_input_source_arn(&self) -> &Option<String>
An Glue table Amazon Resource Name (ARN) for the input source table.
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 to be retrieved.
This field is required.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 to be retrieved.
sourcepub fn get_schema_name(&self) -> &Option<String>
pub fn get_schema_name(&self) -> &Option<String>
The name of the schema to be retrieved.
sourcepub fn apply_normalization(self, input: bool) -> Self
pub fn apply_normalization(self, input: bool) -> Self
Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an AttributeType of PHONE_NUMBER, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.
sourcepub fn set_apply_normalization(self, input: Option<bool>) -> Self
pub fn set_apply_normalization(self, input: Option<bool>) -> Self
Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an AttributeType of PHONE_NUMBER, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.
sourcepub fn get_apply_normalization(&self) -> &Option<bool>
pub fn get_apply_normalization(&self) -> &Option<bool>
Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an AttributeType of PHONE_NUMBER, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.
sourcepub fn build(self) -> Result<InputSource, BuildError>
pub fn build(self) -> Result<InputSource, BuildError>
Consumes the builder and constructs a InputSource.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for InputSourceBuilder
impl Clone for InputSourceBuilder
source§fn clone(&self) -> InputSourceBuilder
fn clone(&self) -> InputSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InputSourceBuilder
impl Debug for InputSourceBuilder
source§impl Default for InputSourceBuilder
impl Default for InputSourceBuilder
source§fn default() -> InputSourceBuilder
fn default() -> InputSourceBuilder
source§impl PartialEq for InputSourceBuilder
impl PartialEq for InputSourceBuilder
impl StructuralPartialEq for InputSourceBuilder
Auto Trait Implementations§
impl Freeze for InputSourceBuilder
impl RefUnwindSafe for InputSourceBuilder
impl Send for InputSourceBuilder
impl Sync for InputSourceBuilder
impl Unpin for InputSourceBuilder
impl UnwindSafe for InputSourceBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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