#[non_exhaustive]pub struct PipeLogConfigurationParametersBuilder { /* private fields */ }
Expand description
A builder for PipeLogConfigurationParameters
.
Implementations§
source§impl PipeLogConfigurationParametersBuilder
impl PipeLogConfigurationParametersBuilder
sourcepub fn s3_log_destination(self, input: S3LogDestinationParameters) -> Self
pub fn s3_log_destination(self, input: S3LogDestinationParameters) -> Self
The Amazon S3 logging configuration settings for the pipe.
sourcepub fn set_s3_log_destination(
self,
input: Option<S3LogDestinationParameters>
) -> Self
pub fn set_s3_log_destination( self, input: Option<S3LogDestinationParameters> ) -> Self
The Amazon S3 logging configuration settings for the pipe.
sourcepub fn get_s3_log_destination(&self) -> &Option<S3LogDestinationParameters>
pub fn get_s3_log_destination(&self) -> &Option<S3LogDestinationParameters>
The Amazon S3 logging configuration settings for the pipe.
sourcepub fn firehose_log_destination(
self,
input: FirehoseLogDestinationParameters
) -> Self
pub fn firehose_log_destination( self, input: FirehoseLogDestinationParameters ) -> Self
The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
sourcepub fn set_firehose_log_destination(
self,
input: Option<FirehoseLogDestinationParameters>
) -> Self
pub fn set_firehose_log_destination( self, input: Option<FirehoseLogDestinationParameters> ) -> Self
The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
sourcepub fn get_firehose_log_destination(
&self
) -> &Option<FirehoseLogDestinationParameters>
pub fn get_firehose_log_destination( &self ) -> &Option<FirehoseLogDestinationParameters>
The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
sourcepub fn cloudwatch_logs_log_destination(
self,
input: CloudwatchLogsLogDestinationParameters
) -> Self
pub fn cloudwatch_logs_log_destination( self, input: CloudwatchLogsLogDestinationParameters ) -> Self
The Amazon CloudWatch Logs logging configuration settings for the pipe.
sourcepub fn set_cloudwatch_logs_log_destination(
self,
input: Option<CloudwatchLogsLogDestinationParameters>
) -> Self
pub fn set_cloudwatch_logs_log_destination( self, input: Option<CloudwatchLogsLogDestinationParameters> ) -> Self
The Amazon CloudWatch Logs logging configuration settings for the pipe.
sourcepub fn get_cloudwatch_logs_log_destination(
&self
) -> &Option<CloudwatchLogsLogDestinationParameters>
pub fn get_cloudwatch_logs_log_destination( &self ) -> &Option<CloudwatchLogsLogDestinationParameters>
The Amazon CloudWatch Logs logging configuration settings for the pipe.
sourcepub fn level(self, input: LogLevel) -> Self
pub fn level(self, input: LogLevel) -> Self
The level of logging detail to include. This applies to all log destinations for the pipe.
For more information, see Specifying EventBridge Pipes log level in the Amazon EventBridge User Guide.
This field is required.sourcepub fn set_level(self, input: Option<LogLevel>) -> Self
pub fn set_level(self, input: Option<LogLevel>) -> Self
The level of logging detail to include. This applies to all log destinations for the pipe.
For more information, see Specifying EventBridge Pipes log level in the Amazon EventBridge User Guide.
sourcepub fn get_level(&self) -> &Option<LogLevel>
pub fn get_level(&self) -> &Option<LogLevel>
The level of logging detail to include. This applies to all log destinations for the pipe.
For more information, see Specifying EventBridge Pipes log level in the Amazon EventBridge User Guide.
sourcepub fn include_execution_data(self, input: IncludeExecutionDataOption) -> Self
pub fn include_execution_data(self, input: IncludeExecutionDataOption) -> Self
Appends an item to include_execution_data
.
To override the contents of this collection use set_include_execution_data
.
Specify ON
to include the execution data (specifically, the payload
and awsRequest
fields) in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
The default is OFF
.
sourcepub fn set_include_execution_data(
self,
input: Option<Vec<IncludeExecutionDataOption>>
) -> Self
pub fn set_include_execution_data( self, input: Option<Vec<IncludeExecutionDataOption>> ) -> Self
Specify ON
to include the execution data (specifically, the payload
and awsRequest
fields) in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
The default is OFF
.
sourcepub fn get_include_execution_data(
&self
) -> &Option<Vec<IncludeExecutionDataOption>>
pub fn get_include_execution_data( &self ) -> &Option<Vec<IncludeExecutionDataOption>>
Specify ON
to include the execution data (specifically, the payload
and awsRequest
fields) in the log messages for this pipe.
This applies to all log destinations for the pipe.
For more information, see Including execution data in logs in the Amazon EventBridge User Guide.
The default is OFF
.
sourcepub fn build(self) -> Result<PipeLogConfigurationParameters, BuildError>
pub fn build(self) -> Result<PipeLogConfigurationParameters, BuildError>
Consumes the builder and constructs a PipeLogConfigurationParameters
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PipeLogConfigurationParametersBuilder
impl Clone for PipeLogConfigurationParametersBuilder
source§fn clone(&self) -> PipeLogConfigurationParametersBuilder
fn clone(&self) -> PipeLogConfigurationParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipeLogConfigurationParametersBuilder
impl Default for PipeLogConfigurationParametersBuilder
source§fn default() -> PipeLogConfigurationParametersBuilder
fn default() -> PipeLogConfigurationParametersBuilder
source§impl PartialEq for PipeLogConfigurationParametersBuilder
impl PartialEq for PipeLogConfigurationParametersBuilder
source§fn eq(&self, other: &PipeLogConfigurationParametersBuilder) -> bool
fn eq(&self, other: &PipeLogConfigurationParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.