Struct aws_sdk_appflow::model::connector_entity_field::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ConnectorEntityField
Implementations
sourceimpl Builder
impl Builder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The unique identifier of the connector field.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The unique identifier of the connector field.
sourcepub fn parent_identifier(self, input: impl Into<String>) -> Self
pub fn parent_identifier(self, input: impl Into<String>) -> Self
The parent identifier of the connector field.
sourcepub fn set_parent_identifier(self, input: Option<String>) -> Self
pub fn set_parent_identifier(self, input: Option<String>) -> Self
The parent identifier of the connector field.
sourcepub fn label(self, input: impl Into<String>) -> Self
pub fn label(self, input: impl Into<String>) -> Self
The label applied to a connector entity field.
sourcepub fn set_label(self, input: Option<String>) -> Self
pub fn set_label(self, input: Option<String>) -> Self
The label applied to a connector entity field.
sourcepub fn is_primary_key(self, input: bool) -> Self
pub fn is_primary_key(self, input: bool) -> Self
Booelan value that indicates whether this field can be used as a primary key.
sourcepub fn set_is_primary_key(self, input: Option<bool>) -> Self
pub fn set_is_primary_key(self, input: Option<bool>) -> Self
Booelan value that indicates whether this field can be used as a primary key.
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
Default value that can be assigned to this field.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
Default value that can be assigned to this field.
sourcepub fn is_deprecated(self, input: bool) -> Self
pub fn is_deprecated(self, input: bool) -> Self
Booelan value that indicates whether this field is deprecated or not.
sourcepub fn set_is_deprecated(self, input: Option<bool>) -> Self
pub fn set_is_deprecated(self, input: Option<bool>) -> Self
Booelan value that indicates whether this field is deprecated or not.
sourcepub fn supported_field_type_details(
self,
input: SupportedFieldTypeDetails
) -> Self
pub fn supported_field_type_details(
self,
input: SupportedFieldTypeDetails
) -> Self
Contains details regarding the supported FieldType
, including the corresponding filterOperators
and supportedValues
.
sourcepub fn set_supported_field_type_details(
self,
input: Option<SupportedFieldTypeDetails>
) -> Self
pub fn set_supported_field_type_details(
self,
input: Option<SupportedFieldTypeDetails>
) -> Self
Contains details regarding the supported FieldType
, including the corresponding filterOperators
and supportedValues
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the connector entity field.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the connector entity field.
sourcepub fn source_properties(self, input: SourceFieldProperties) -> Self
pub fn source_properties(self, input: SourceFieldProperties) -> Self
The properties that can be applied to a field when the connector is being used as a source.
sourcepub fn set_source_properties(self, input: Option<SourceFieldProperties>) -> Self
pub fn set_source_properties(self, input: Option<SourceFieldProperties>) -> Self
The properties that can be applied to a field when the connector is being used as a source.
sourcepub fn destination_properties(self, input: DestinationFieldProperties) -> Self
pub fn destination_properties(self, input: DestinationFieldProperties) -> Self
The properties applied to a field when the connector is being used as a destination.
sourcepub fn set_destination_properties(
self,
input: Option<DestinationFieldProperties>
) -> Self
pub fn set_destination_properties(
self,
input: Option<DestinationFieldProperties>
) -> Self
The properties applied to a field when the connector is being used as a destination.
sourcepub fn custom_properties(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn custom_properties(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to custom_properties
.
To override the contents of this collection use set_custom_properties
.
A map that has specific properties related to the ConnectorEntityField.
sourcepub fn set_custom_properties(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_custom_properties(
self,
input: Option<HashMap<String, String>>
) -> Self
A map that has specific properties related to the ConnectorEntityField.
sourcepub fn build(self) -> ConnectorEntityField
pub fn build(self) -> ConnectorEntityField
Consumes the builder and constructs a ConnectorEntityField
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more