#[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 ==
.impl StructuralPartialEq for CustomConnectorDestinationProperties
Auto Trait Implementations§
impl Freeze for CustomConnectorDestinationProperties
impl RefUnwindSafe for CustomConnectorDestinationProperties
impl Send for CustomConnectorDestinationProperties
impl Sync for CustomConnectorDestinationProperties
impl Unpin for CustomConnectorDestinationProperties
impl UnwindSafe for CustomConnectorDestinationProperties
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