#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for RedshiftDestinationDescription
Implementations
sourceimpl Builder
impl Builder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
sourcepub fn cluster_jdbcurl(self, input: impl Into<String>) -> Self
pub fn cluster_jdbcurl(self, input: impl Into<String>) -> Self
The database connection string.
sourcepub fn set_cluster_jdbcurl(self, input: Option<String>) -> Self
pub fn set_cluster_jdbcurl(self, input: Option<String>) -> Self
The database connection string.
sourcepub fn copy_command(self, input: CopyCommand) -> Self
pub fn copy_command(self, input: CopyCommand) -> Self
The COPY
command.
sourcepub fn set_copy_command(self, input: Option<CopyCommand>) -> Self
pub fn set_copy_command(self, input: Option<CopyCommand>) -> Self
The COPY
command.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The name of the user.
sourcepub fn retry_options(self, input: RedshiftRetryOptions) -> Self
pub fn retry_options(self, input: RedshiftRetryOptions) -> Self
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
sourcepub fn set_retry_options(self, input: Option<RedshiftRetryOptions>) -> Self
pub fn set_retry_options(self, input: Option<RedshiftRetryOptions>) -> Self
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
sourcepub fn s3_destination_description(self, input: S3DestinationDescription) -> Self
pub fn s3_destination_description(self, input: S3DestinationDescription) -> Self
The Amazon S3 destination.
sourcepub fn set_s3_destination_description(
self,
input: Option<S3DestinationDescription>
) -> Self
pub fn set_s3_destination_description(
self,
input: Option<S3DestinationDescription>
) -> Self
The Amazon S3 destination.
sourcepub fn processing_configuration(self, input: ProcessingConfiguration) -> Self
pub fn processing_configuration(self, input: ProcessingConfiguration) -> Self
The data processing configuration.
sourcepub fn set_processing_configuration(
self,
input: Option<ProcessingConfiguration>
) -> Self
pub fn set_processing_configuration(
self,
input: Option<ProcessingConfiguration>
) -> Self
The data processing configuration.
sourcepub fn s3_backup_mode(self, input: RedshiftS3BackupMode) -> Self
pub fn s3_backup_mode(self, input: RedshiftS3BackupMode) -> Self
The Amazon S3 backup mode.
sourcepub fn set_s3_backup_mode(self, input: Option<RedshiftS3BackupMode>) -> Self
pub fn set_s3_backup_mode(self, input: Option<RedshiftS3BackupMode>) -> Self
The Amazon S3 backup mode.
sourcepub fn s3_backup_description(self, input: S3DestinationDescription) -> Self
pub fn s3_backup_description(self, input: S3DestinationDescription) -> Self
The configuration for backup in Amazon S3.
sourcepub fn set_s3_backup_description(
self,
input: Option<S3DestinationDescription>
) -> Self
pub fn set_s3_backup_description(
self,
input: Option<S3DestinationDescription>
) -> Self
The configuration for backup in Amazon S3.
sourcepub fn cloud_watch_logging_options(
self,
input: CloudWatchLoggingOptions
) -> Self
pub fn cloud_watch_logging_options(
self,
input: CloudWatchLoggingOptions
) -> Self
The Amazon CloudWatch logging options for your delivery stream.
sourcepub fn set_cloud_watch_logging_options(
self,
input: Option<CloudWatchLoggingOptions>
) -> Self
pub fn set_cloud_watch_logging_options(
self,
input: Option<CloudWatchLoggingOptions>
) -> Self
The Amazon CloudWatch logging options for your delivery stream.
sourcepub fn build(self) -> RedshiftDestinationDescription
pub fn build(self) -> RedshiftDestinationDescription
Consumes the builder and constructs a RedshiftDestinationDescription
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more