#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for HttpEndpointDestinationConfiguration
Implementations
sourceimpl Builder
impl Builder
sourcepub fn endpoint_configuration(self, input: HttpEndpointConfiguration) -> Self
pub fn endpoint_configuration(self, input: HttpEndpointConfiguration) -> Self
The configuration of the HTTP endpoint selected as the destination.
sourcepub fn set_endpoint_configuration(
self,
input: Option<HttpEndpointConfiguration>
) -> Self
pub fn set_endpoint_configuration(
self,
input: Option<HttpEndpointConfiguration>
) -> Self
The configuration of the HTTP endpoint selected as the destination.
sourcepub fn buffering_hints(self, input: HttpEndpointBufferingHints) -> Self
pub fn buffering_hints(self, input: HttpEndpointBufferingHints) -> Self
The buffering options that can be used before data is delivered to the specified destination. Kinesis Data Firehose treats these options as hints, and it might choose to use more optimal values. The SizeInMBs
and IntervalInSeconds
parameters are optional. However, if you specify a value for one of them, you must also provide a value for the other.
sourcepub fn set_buffering_hints(
self,
input: Option<HttpEndpointBufferingHints>
) -> Self
pub fn set_buffering_hints(
self,
input: Option<HttpEndpointBufferingHints>
) -> Self
The buffering options that can be used before data is delivered to the specified destination. Kinesis Data Firehose treats these options as hints, and it might choose to use more optimal values. The SizeInMBs
and IntervalInSeconds
parameters are optional. However, if you specify a value for one of them, you must also provide a value for the other.
sourcepub fn cloud_watch_logging_options(
self,
input: CloudWatchLoggingOptions
) -> Self
pub fn cloud_watch_logging_options(
self,
input: CloudWatchLoggingOptions
) -> Self
Describes 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
Describes the Amazon CloudWatch logging options for your delivery stream.
sourcepub fn request_configuration(
self,
input: HttpEndpointRequestConfiguration
) -> Self
pub fn request_configuration(
self,
input: HttpEndpointRequestConfiguration
) -> Self
The configuration of the requeste sent to the HTTP endpoint specified as the destination.
sourcepub fn set_request_configuration(
self,
input: Option<HttpEndpointRequestConfiguration>
) -> Self
pub fn set_request_configuration(
self,
input: Option<HttpEndpointRequestConfiguration>
) -> Self
The configuration of the requeste sent to the HTTP endpoint specified as the destination.
sourcepub fn processing_configuration(self, input: ProcessingConfiguration) -> Self
pub fn processing_configuration(self, input: ProcessingConfiguration) -> Self
Describes a data processing configuration.
sourcepub fn set_processing_configuration(
self,
input: Option<ProcessingConfiguration>
) -> Self
pub fn set_processing_configuration(
self,
input: Option<ProcessingConfiguration>
) -> Self
Describes a data processing configuration.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
Kinesis Data Firehose uses this IAM role for all the permissions that the delivery stream needs.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
Kinesis Data Firehose uses this IAM role for all the permissions that the delivery stream needs.
sourcepub fn retry_options(self, input: HttpEndpointRetryOptions) -> Self
pub fn retry_options(self, input: HttpEndpointRetryOptions) -> Self
Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment of receipt from the specified HTTP endpoint destination.
sourcepub fn set_retry_options(self, input: Option<HttpEndpointRetryOptions>) -> Self
pub fn set_retry_options(self, input: Option<HttpEndpointRetryOptions>) -> Self
Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment of receipt from the specified HTTP endpoint destination.
sourcepub fn s3_backup_mode(self, input: HttpEndpointS3BackupMode) -> Self
pub fn s3_backup_mode(self, input: HttpEndpointS3BackupMode) -> Self
Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to the HTTP endpoint destination. You can back up all documents (AllData
) or only the documents that Kinesis Data Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly
).
sourcepub fn set_s3_backup_mode(self, input: Option<HttpEndpointS3BackupMode>) -> Self
pub fn set_s3_backup_mode(self, input: Option<HttpEndpointS3BackupMode>) -> Self
Describes the S3 bucket backup options for the data that Kinesis Data Firehose delivers to the HTTP endpoint destination. You can back up all documents (AllData
) or only the documents that Kinesis Data Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly
).
sourcepub fn s3_configuration(self, input: S3DestinationConfiguration) -> Self
pub fn s3_configuration(self, input: S3DestinationConfiguration) -> Self
Describes the configuration of a destination in Amazon S3.
sourcepub fn set_s3_configuration(
self,
input: Option<S3DestinationConfiguration>
) -> Self
pub fn set_s3_configuration(
self,
input: Option<S3DestinationConfiguration>
) -> Self
Describes the configuration of a destination in Amazon S3.
sourcepub fn build(self) -> HttpEndpointDestinationConfiguration
pub fn build(self) -> HttpEndpointDestinationConfiguration
Consumes the builder and constructs a HttpEndpointDestinationConfiguration
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