Struct aws_sdk_firehose::model::redshift_destination_update::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for RedshiftDestinationUpdate
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 set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The user password.
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_update(self, input: S3DestinationUpdate) -> Self
pub fn s3_update(self, input: S3DestinationUpdate) -> Self
The Amazon S3 destination.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationUpdate.S3Update
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
sourcepub fn set_s3_update(self, input: Option<S3DestinationUpdate>) -> Self
pub fn set_s3_update(self, input: Option<S3DestinationUpdate>) -> Self
The Amazon S3 destination.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationUpdate.S3Update
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
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
You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
sourcepub fn set_s3_backup_mode(self, input: Option<RedshiftS3BackupMode>) -> Self
pub fn set_s3_backup_mode(self, input: Option<RedshiftS3BackupMode>) -> Self
You can update a delivery stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
sourcepub fn s3_backup_update(self, input: S3DestinationUpdate) -> Self
pub fn s3_backup_update(self, input: S3DestinationUpdate) -> Self
The Amazon S3 destination for backup.
sourcepub fn set_s3_backup_update(self, input: Option<S3DestinationUpdate>) -> Self
pub fn set_s3_backup_update(self, input: Option<S3DestinationUpdate>) -> Self
The Amazon S3 destination for backup.
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) -> RedshiftDestinationUpdate
pub fn build(self) -> RedshiftDestinationUpdate
Consumes the builder and constructs a RedshiftDestinationUpdate
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