Struct aws_sdk_appflow::types::builders::FieldTypeDetailsBuilder
source · #[non_exhaustive]pub struct FieldTypeDetailsBuilder { /* private fields */ }
Expand description
A builder for FieldTypeDetails
.
Implementations§
source§impl FieldTypeDetailsBuilder
impl FieldTypeDetailsBuilder
sourcepub fn field_type(self, input: impl Into<String>) -> Self
pub fn field_type(self, input: impl Into<String>) -> Self
The type of field, such as string, integer, date, and so on.
This field is required.sourcepub fn set_field_type(self, input: Option<String>) -> Self
pub fn set_field_type(self, input: Option<String>) -> Self
The type of field, such as string, integer, date, and so on.
sourcepub fn get_field_type(&self) -> &Option<String>
pub fn get_field_type(&self) -> &Option<String>
The type of field, such as string, integer, date, and so on.
sourcepub fn filter_operators(self, input: Operator) -> Self
pub fn filter_operators(self, input: Operator) -> Self
Appends an item to filter_operators
.
To override the contents of this collection use set_filter_operators
.
The list of operators supported by a field.
sourcepub fn set_filter_operators(self, input: Option<Vec<Operator>>) -> Self
pub fn set_filter_operators(self, input: Option<Vec<Operator>>) -> Self
The list of operators supported by a field.
sourcepub fn get_filter_operators(&self) -> &Option<Vec<Operator>>
pub fn get_filter_operators(&self) -> &Option<Vec<Operator>>
The list of operators supported by a field.
sourcepub fn supported_values(self, input: impl Into<String>) -> Self
pub fn supported_values(self, input: impl Into<String>) -> Self
Appends an item to supported_values
.
To override the contents of this collection use set_supported_values
.
The list of values that a field can contain. For example, a Boolean fieldType
can have two values: "true" and "false".
sourcepub fn set_supported_values(self, input: Option<Vec<String>>) -> Self
pub fn set_supported_values(self, input: Option<Vec<String>>) -> Self
The list of values that a field can contain. For example, a Boolean fieldType
can have two values: "true" and "false".
sourcepub fn get_supported_values(&self) -> &Option<Vec<String>>
pub fn get_supported_values(&self) -> &Option<Vec<String>>
The list of values that a field can contain. For example, a Boolean fieldType
can have two values: "true" and "false".
sourcepub fn value_regex_pattern(self, input: impl Into<String>) -> Self
pub fn value_regex_pattern(self, input: impl Into<String>) -> Self
The regular expression pattern for the field name.
sourcepub fn set_value_regex_pattern(self, input: Option<String>) -> Self
pub fn set_value_regex_pattern(self, input: Option<String>) -> Self
The regular expression pattern for the field name.
sourcepub fn get_value_regex_pattern(&self) -> &Option<String>
pub fn get_value_regex_pattern(&self) -> &Option<String>
The regular expression pattern for the field name.
sourcepub fn supported_date_format(self, input: impl Into<String>) -> Self
pub fn supported_date_format(self, input: impl Into<String>) -> Self
The date format that the field supports.
sourcepub fn set_supported_date_format(self, input: Option<String>) -> Self
pub fn set_supported_date_format(self, input: Option<String>) -> Self
The date format that the field supports.
sourcepub fn get_supported_date_format(&self) -> &Option<String>
pub fn get_supported_date_format(&self) -> &Option<String>
The date format that the field supports.
sourcepub fn field_value_range(self, input: Range) -> Self
pub fn field_value_range(self, input: Range) -> Self
The range of values this field can hold.
sourcepub fn set_field_value_range(self, input: Option<Range>) -> Self
pub fn set_field_value_range(self, input: Option<Range>) -> Self
The range of values this field can hold.
sourcepub fn get_field_value_range(&self) -> &Option<Range>
pub fn get_field_value_range(&self) -> &Option<Range>
The range of values this field can hold.
sourcepub fn field_length_range(self, input: Range) -> Self
pub fn field_length_range(self, input: Range) -> Self
This is the allowable length range for this field's value.
sourcepub fn set_field_length_range(self, input: Option<Range>) -> Self
pub fn set_field_length_range(self, input: Option<Range>) -> Self
This is the allowable length range for this field's value.
sourcepub fn get_field_length_range(&self) -> &Option<Range>
pub fn get_field_length_range(&self) -> &Option<Range>
This is the allowable length range for this field's value.
sourcepub fn build(self) -> Result<FieldTypeDetails, BuildError>
pub fn build(self) -> Result<FieldTypeDetails, BuildError>
Consumes the builder and constructs a FieldTypeDetails
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FieldTypeDetailsBuilder
impl Clone for FieldTypeDetailsBuilder
source§fn clone(&self) -> FieldTypeDetailsBuilder
fn clone(&self) -> FieldTypeDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FieldTypeDetailsBuilder
impl Debug for FieldTypeDetailsBuilder
source§impl Default for FieldTypeDetailsBuilder
impl Default for FieldTypeDetailsBuilder
source§fn default() -> FieldTypeDetailsBuilder
fn default() -> FieldTypeDetailsBuilder
source§impl PartialEq for FieldTypeDetailsBuilder
impl PartialEq for FieldTypeDetailsBuilder
source§fn eq(&self, other: &FieldTypeDetailsBuilder) -> bool
fn eq(&self, other: &FieldTypeDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FieldTypeDetailsBuilder
Auto Trait Implementations§
impl Freeze for FieldTypeDetailsBuilder
impl RefUnwindSafe for FieldTypeDetailsBuilder
impl Send for FieldTypeDetailsBuilder
impl Sync for FieldTypeDetailsBuilder
impl Unpin for FieldTypeDetailsBuilder
impl UnwindSafe for FieldTypeDetailsBuilder
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