#[non_exhaustive]pub struct CustomConnectorDestinationProperties {
pub entity_name: String,
pub error_handling_config: Option<ErrorHandlingConfig>,
pub write_operation_type: Option<WriteOperationType>,
pub id_field_names: Option<Vec<String>>,
pub custom_properties: Option<HashMap<String, String>>,
}
Expand description
The properties that are applied when the custom connector is being used as a destination.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.entity_name: String
The entity specified in the custom connector as a destination in the flow.
error_handling_config: Option<ErrorHandlingConfig>
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
write_operation_type: Option<WriteOperationType>
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
id_field_names: Option<Vec<String>>
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
custom_properties: Option<HashMap<String, String>>
The custom properties that are specific to the connector when it's used as a destination in the flow.
Implementations§
source§impl CustomConnectorDestinationProperties
impl CustomConnectorDestinationProperties
sourcepub fn entity_name(&self) -> &str
pub fn entity_name(&self) -> &str
The entity specified in the custom connector as a destination in the flow.
sourcepub fn error_handling_config(&self) -> Option<&ErrorHandlingConfig>
pub fn error_handling_config(&self) -> Option<&ErrorHandlingConfig>
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
sourcepub fn write_operation_type(&self) -> Option<&WriteOperationType>
pub fn write_operation_type(&self) -> Option<&WriteOperationType>
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
sourcepub fn id_field_names(&self) -> &[String]
pub fn id_field_names(&self) -> &[String]
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .id_field_names.is_none()
.
source§impl CustomConnectorDestinationProperties
impl CustomConnectorDestinationProperties
sourcepub fn builder() -> CustomConnectorDestinationPropertiesBuilder
pub fn builder() -> CustomConnectorDestinationPropertiesBuilder
Creates a new builder-style object to manufacture CustomConnectorDestinationProperties
.
Trait Implementations§
source§impl Clone for CustomConnectorDestinationProperties
impl Clone for CustomConnectorDestinationProperties
source§fn clone(&self) -> CustomConnectorDestinationProperties
fn clone(&self) -> CustomConnectorDestinationProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CustomConnectorDestinationProperties
impl PartialEq for CustomConnectorDestinationProperties
source§fn eq(&self, other: &CustomConnectorDestinationProperties) -> bool
fn eq(&self, other: &CustomConnectorDestinationProperties) -> bool
self
and other
values to be equal, and is used
by ==
.