#[non_exhaustive]pub struct RedshiftDestinationPropertiesBuilder { /* private fields */ }Expand description
A builder for RedshiftDestinationProperties.
Implementations§
source§impl RedshiftDestinationPropertiesBuilder
impl RedshiftDestinationPropertiesBuilder
sourcepub fn object(self, input: impl Into<String>) -> Self
pub fn object(self, input: impl Into<String>) -> Self
The object specified in the Amazon Redshift flow destination.
sourcepub fn set_object(self, input: Option<String>) -> Self
pub fn set_object(self, input: Option<String>) -> Self
The object specified in the Amazon Redshift flow destination.
sourcepub fn get_object(&self) -> &Option<String>
pub fn get_object(&self) -> &Option<String>
The object specified in the Amazon Redshift flow destination.
sourcepub fn intermediate_bucket_name(self, input: impl Into<String>) -> Self
pub fn intermediate_bucket_name(self, input: impl Into<String>) -> Self
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
sourcepub fn set_intermediate_bucket_name(self, input: Option<String>) -> Self
pub fn set_intermediate_bucket_name(self, input: Option<String>) -> Self
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
sourcepub fn get_intermediate_bucket_name(&self) -> &Option<String>
pub fn get_intermediate_bucket_name(&self) -> &Option<String>
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
sourcepub fn bucket_prefix(self, input: impl Into<String>) -> Self
pub fn bucket_prefix(self, input: impl Into<String>) -> Self
The object key for the bucket in which Amazon AppFlow places the destination files.
sourcepub fn set_bucket_prefix(self, input: Option<String>) -> Self
pub fn set_bucket_prefix(self, input: Option<String>) -> Self
The object key for the bucket in which Amazon AppFlow places the destination files.
sourcepub fn get_bucket_prefix(&self) -> &Option<String>
pub fn get_bucket_prefix(&self) -> &Option<String>
The object key for the bucket in which Amazon AppFlow places the destination files.
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 Amazon Redshift 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 Amazon Redshift 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 Amazon Redshift 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) -> RedshiftDestinationProperties
pub fn build(self) -> RedshiftDestinationProperties
Consumes the builder and constructs a RedshiftDestinationProperties.
Trait Implementations§
source§impl Clone for RedshiftDestinationPropertiesBuilder
impl Clone for RedshiftDestinationPropertiesBuilder
source§fn clone(&self) -> RedshiftDestinationPropertiesBuilder
fn clone(&self) -> RedshiftDestinationPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RedshiftDestinationPropertiesBuilder
impl Default for RedshiftDestinationPropertiesBuilder
source§fn default() -> RedshiftDestinationPropertiesBuilder
fn default() -> RedshiftDestinationPropertiesBuilder
source§impl PartialEq<RedshiftDestinationPropertiesBuilder> for RedshiftDestinationPropertiesBuilder
impl PartialEq<RedshiftDestinationPropertiesBuilder> for RedshiftDestinationPropertiesBuilder
source§fn eq(&self, other: &RedshiftDestinationPropertiesBuilder) -> bool
fn eq(&self, other: &RedshiftDestinationPropertiesBuilder) -> bool
self and other values to be equal, and is used
by ==.