#[non_exhaustive]pub struct HoneycodeDestinationPropertiesBuilder { /* private fields */ }Expand description
A builder for HoneycodeDestinationProperties.
Implementations§
source§impl HoneycodeDestinationPropertiesBuilder
impl HoneycodeDestinationPropertiesBuilder
sourcepub fn object(self, input: impl Into<String>) -> Self
pub fn object(self, input: impl Into<String>) -> Self
The object specified in the Amazon Honeycode flow destination.
This field is required.sourcepub fn set_object(self, input: Option<String>) -> Self
pub fn set_object(self, input: Option<String>) -> Self
The object specified in the Amazon Honeycode flow destination.
sourcepub fn get_object(&self) -> &Option<String>
pub fn get_object(&self) -> &Option<String>
The object specified in the Amazon Honeycode flow destination.
sourcepub fn error_handling_config(self, input: ErrorHandlingConfig) -> Self
pub fn error_handling_config(self, input: ErrorHandlingConfig) -> Self
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.
sourcepub fn set_error_handling_config(
self,
input: Option<ErrorHandlingConfig>,
) -> Self
pub fn set_error_handling_config( self, input: Option<ErrorHandlingConfig>, ) -> Self
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.
sourcepub fn get_error_handling_config(&self) -> &Option<ErrorHandlingConfig>
pub fn get_error_handling_config(&self) -> &Option<ErrorHandlingConfig>
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.
sourcepub fn build(self) -> Result<HoneycodeDestinationProperties, BuildError>
pub fn build(self) -> Result<HoneycodeDestinationProperties, BuildError>
Consumes the builder and constructs a HoneycodeDestinationProperties.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for HoneycodeDestinationPropertiesBuilder
impl Clone for HoneycodeDestinationPropertiesBuilder
source§fn clone(&self) -> HoneycodeDestinationPropertiesBuilder
fn clone(&self) -> HoneycodeDestinationPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for HoneycodeDestinationPropertiesBuilder
impl Default for HoneycodeDestinationPropertiesBuilder
source§fn default() -> HoneycodeDestinationPropertiesBuilder
fn default() -> HoneycodeDestinationPropertiesBuilder
source§impl PartialEq for HoneycodeDestinationPropertiesBuilder
impl PartialEq for HoneycodeDestinationPropertiesBuilder
source§fn eq(&self, other: &HoneycodeDestinationPropertiesBuilder) -> bool
fn eq(&self, other: &HoneycodeDestinationPropertiesBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HoneycodeDestinationPropertiesBuilder
Auto Trait Implementations§
impl Freeze for HoneycodeDestinationPropertiesBuilder
impl RefUnwindSafe for HoneycodeDestinationPropertiesBuilder
impl Send for HoneycodeDestinationPropertiesBuilder
impl Sync for HoneycodeDestinationPropertiesBuilder
impl Unpin for HoneycodeDestinationPropertiesBuilder
impl UnwindSafe for HoneycodeDestinationPropertiesBuilder
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> 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