#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for SplunkDestinationConfiguration
Implementations
sourceimpl Builder
impl Builder
sourcepub fn hec_endpoint(self, input: impl Into<String>) -> Self
pub fn hec_endpoint(self, input: impl Into<String>) -> Self
The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data.
sourcepub fn set_hec_endpoint(self, input: Option<String>) -> Self
pub fn set_hec_endpoint(self, input: Option<String>) -> Self
The HTTP Event Collector (HEC) endpoint to which Kinesis Data Firehose sends your data.
sourcepub fn hec_endpoint_type(self, input: HecEndpointType) -> Self
pub fn hec_endpoint_type(self, input: HecEndpointType) -> Self
This type can be either "Raw" or "Event."
sourcepub fn set_hec_endpoint_type(self, input: Option<HecEndpointType>) -> Self
pub fn set_hec_endpoint_type(self, input: Option<HecEndpointType>) -> Self
This type can be either "Raw" or "Event."
sourcepub fn hec_token(self, input: impl Into<String>) -> Self
pub fn hec_token(self, input: impl Into<String>) -> Self
This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.
sourcepub fn set_hec_token(self, input: Option<String>) -> Self
pub fn set_hec_token(self, input: Option<String>) -> Self
This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.
sourcepub fn hec_acknowledgment_timeout_in_seconds(self, input: i32) -> Self
pub fn hec_acknowledgment_timeout_in_seconds(self, input: i32) -> Self
The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends it data. At the end of the timeout period, Kinesis Data Firehose either tries to send the data again or considers it an error, based on your retry settings.
sourcepub fn set_hec_acknowledgment_timeout_in_seconds(
self,
input: Option<i32>
) -> Self
pub fn set_hec_acknowledgment_timeout_in_seconds(
self,
input: Option<i32>
) -> Self
The amount of time that Kinesis Data Firehose waits to receive an acknowledgment from Splunk after it sends it data. At the end of the timeout period, Kinesis Data Firehose either tries to send the data again or considers it an error, based on your retry settings.
sourcepub fn retry_options(self, input: SplunkRetryOptions) -> Self
pub fn retry_options(self, input: SplunkRetryOptions) -> Self
The retry behavior in case Kinesis Data Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.
sourcepub fn set_retry_options(self, input: Option<SplunkRetryOptions>) -> Self
pub fn set_retry_options(self, input: Option<SplunkRetryOptions>) -> Self
The retry behavior in case Kinesis Data Firehose is unable to deliver data to Splunk, or if it doesn't receive an acknowledgment of receipt from Splunk.
sourcepub fn s3_backup_mode(self, input: SplunkS3BackupMode) -> Self
pub fn s3_backup_mode(self, input: SplunkS3BackupMode) -> Self
Defines how documents should be delivered to Amazon S3. When set to FailedEventsOnly
, Kinesis Data Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set to AllEvents
, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value is FailedEventsOnly
.
You can update this backup mode from FailedEventsOnly
to AllEvents
. You can't update it from AllEvents
to FailedEventsOnly
.
sourcepub fn set_s3_backup_mode(self, input: Option<SplunkS3BackupMode>) -> Self
pub fn set_s3_backup_mode(self, input: Option<SplunkS3BackupMode>) -> Self
Defines how documents should be delivered to Amazon S3. When set to FailedEventsOnly
, Kinesis Data Firehose writes any data that could not be indexed to the configured Amazon S3 destination. When set to AllEvents
, Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents to Amazon S3. The default value is FailedEventsOnly
.
You can update this backup mode from FailedEventsOnly
to AllEvents
. You can't update it from AllEvents
to FailedEventsOnly
.
sourcepub fn s3_configuration(self, input: S3DestinationConfiguration) -> Self
pub fn s3_configuration(self, input: S3DestinationConfiguration) -> Self
The configuration for the backup Amazon S3 location.
sourcepub fn set_s3_configuration(
self,
input: Option<S3DestinationConfiguration>
) -> Self
pub fn set_s3_configuration(
self,
input: Option<S3DestinationConfiguration>
) -> Self
The configuration for the backup Amazon S3 location.
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 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) -> SplunkDestinationConfiguration
pub fn build(self) -> SplunkDestinationConfiguration
Consumes the builder and constructs a SplunkDestinationConfiguration
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