Struct aws_sdk_pipes::types::builders::PipeLogConfigurationBuilder
source · #[non_exhaustive]pub struct PipeLogConfigurationBuilder { /* private fields */ }
Expand description
A builder for PipeLogConfiguration
.
Implementations§
source§impl PipeLogConfigurationBuilder
impl PipeLogConfigurationBuilder
sourcepub fn s3_log_destination(self, input: S3LogDestination) -> Self
pub fn s3_log_destination(self, input: S3LogDestination) -> Self
The Amazon S3 logging configuration settings for the pipe.
sourcepub fn set_s3_log_destination(self, input: Option<S3LogDestination>) -> Self
pub fn set_s3_log_destination(self, input: Option<S3LogDestination>) -> Self
The Amazon S3 logging configuration settings for the pipe.
sourcepub fn get_s3_log_destination(&self) -> &Option<S3LogDestination>
pub fn get_s3_log_destination(&self) -> &Option<S3LogDestination>
The Amazon S3 logging configuration settings for the pipe.
sourcepub fn firehose_log_destination(self, input: FirehoseLogDestination) -> Self
pub fn firehose_log_destination(self, input: FirehoseLogDestination) -> Self
The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
sourcepub fn set_firehose_log_destination(
self,
input: Option<FirehoseLogDestination>
) -> Self
pub fn set_firehose_log_destination( self, input: Option<FirehoseLogDestination> ) -> Self
The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
sourcepub fn get_firehose_log_destination(&self) -> &Option<FirehoseLogDestination>
pub fn get_firehose_log_destination(&self) -> &Option<FirehoseLogDestination>
The Amazon Kinesis Data Firehose logging configuration settings for the pipe.
sourcepub fn cloudwatch_logs_log_destination(
self,
input: CloudwatchLogsLogDestination
) -> Self
pub fn cloudwatch_logs_log_destination( self, input: CloudwatchLogsLogDestination ) -> Self
The Amazon CloudWatch Logs logging configuration settings for the pipe.
sourcepub fn set_cloudwatch_logs_log_destination(
self,
input: Option<CloudwatchLogsLogDestination>
) -> Self
pub fn set_cloudwatch_logs_log_destination( self, input: Option<CloudwatchLogsLogDestination> ) -> Self
The Amazon CloudWatch Logs logging configuration settings for the pipe.
sourcepub fn get_cloudwatch_logs_log_destination(
&self
) -> &Option<CloudwatchLogsLogDestination>
pub fn get_cloudwatch_logs_log_destination( &self ) -> &Option<CloudwatchLogsLogDestination>
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.
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.
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.
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
.
Whether the execution data (specifically, the payload
, awsRequest
, and awsResponse
fields) is included 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.
sourcepub fn set_include_execution_data(
self,
input: Option<Vec<IncludeExecutionDataOption>>
) -> Self
pub fn set_include_execution_data( self, input: Option<Vec<IncludeExecutionDataOption>> ) -> Self
Whether the execution data (specifically, the payload
, awsRequest
, and awsResponse
fields) is included 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.
sourcepub fn get_include_execution_data(
&self
) -> &Option<Vec<IncludeExecutionDataOption>>
pub fn get_include_execution_data( &self ) -> &Option<Vec<IncludeExecutionDataOption>>
Whether the execution data (specifically, the payload
, awsRequest
, and awsResponse
fields) is included 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.
sourcepub fn build(self) -> PipeLogConfiguration
pub fn build(self) -> PipeLogConfiguration
Consumes the builder and constructs a PipeLogConfiguration
.
Trait Implementations§
source§impl Clone for PipeLogConfigurationBuilder
impl Clone for PipeLogConfigurationBuilder
source§fn clone(&self) -> PipeLogConfigurationBuilder
fn clone(&self) -> PipeLogConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipeLogConfigurationBuilder
impl Debug for PipeLogConfigurationBuilder
source§impl Default for PipeLogConfigurationBuilder
impl Default for PipeLogConfigurationBuilder
source§fn default() -> PipeLogConfigurationBuilder
fn default() -> PipeLogConfigurationBuilder
source§impl PartialEq for PipeLogConfigurationBuilder
impl PartialEq for PipeLogConfigurationBuilder
source§fn eq(&self, other: &PipeLogConfigurationBuilder) -> bool
fn eq(&self, other: &PipeLogConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.