Struct aws_sdk_appflow::model::connector_entity_field::Builder
source · [−]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
.