Class CfnPipePropsMixin.PipeLogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeLogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.PipeLogConfigurationProperty>
- Enclosing interface:
CfnPipePropsMixin.PipeLogConfigurationProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.PipeLogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.PipeLogConfigurationProperty>
A builder for
CfnPipePropsMixin.PipeLogConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudwatchLogsLogDestination(CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty cloudwatchLogsLogDestination) cloudwatchLogsLogDestination(IResolvable cloudwatchLogsLogDestination) firehoseLogDestination(CfnPipePropsMixin.FirehoseLogDestinationProperty firehoseLogDestination) firehoseLogDestination(IResolvable firehoseLogDestination) includeExecutionData(List<String> includeExecutionData) Sets the value ofCfnPipePropsMixin.PipeLogConfigurationProperty.getIncludeExecutionData()Sets the value ofCfnPipePropsMixin.PipeLogConfigurationProperty.getLevel()s3LogDestination(CfnPipePropsMixin.S3LogDestinationProperty s3LogDestination) Sets the value ofCfnPipePropsMixin.PipeLogConfigurationProperty.getS3LogDestination()s3LogDestination(IResolvable s3LogDestination) Sets the value ofCfnPipePropsMixin.PipeLogConfigurationProperty.getS3LogDestination()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudwatchLogsLogDestination
@Stability(Stable) public CfnPipePropsMixin.PipeLogConfigurationProperty.Builder cloudwatchLogsLogDestination(IResolvable cloudwatchLogsLogDestination) - Parameters:
cloudwatchLogsLogDestination- The logging configuration settings for the pipe.- Returns:
this
-
cloudwatchLogsLogDestination
@Stability(Stable) public CfnPipePropsMixin.PipeLogConfigurationProperty.Builder cloudwatchLogsLogDestination(CfnPipePropsMixin.CloudwatchLogsLogDestinationProperty cloudwatchLogsLogDestination) - Parameters:
cloudwatchLogsLogDestination- The logging configuration settings for the pipe.- Returns:
this
-
firehoseLogDestination
@Stability(Stable) public CfnPipePropsMixin.PipeLogConfigurationProperty.Builder firehoseLogDestination(IResolvable firehoseLogDestination) - Parameters:
firehoseLogDestination- The Amazon Data Firehose logging configuration settings for the pipe.- Returns:
this
-
firehoseLogDestination
@Stability(Stable) public CfnPipePropsMixin.PipeLogConfigurationProperty.Builder firehoseLogDestination(CfnPipePropsMixin.FirehoseLogDestinationProperty firehoseLogDestination) - Parameters:
firehoseLogDestination- The Amazon Data Firehose logging configuration settings for the pipe.- Returns:
this
-
includeExecutionData
@Stability(Stable) public CfnPipePropsMixin.PipeLogConfigurationProperty.Builder includeExecutionData(List<String> includeExecutionData) Sets the value ofCfnPipePropsMixin.PipeLogConfigurationProperty.getIncludeExecutionData()- Parameters:
includeExecutionData- Whether the execution data (specifically, thepayload,awsRequest, andawsResponsefields) 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 .
Allowed values:
ALL- Returns:
this
-
level
@Stability(Stable) public CfnPipePropsMixin.PipeLogConfigurationProperty.Builder level(String level) Sets the value ofCfnPipePropsMixin.PipeLogConfigurationProperty.getLevel()- Parameters:
level- The level of logging detail to include. This applies to all log destinations for the pipe.- Returns:
this
-
s3LogDestination
@Stability(Stable) public CfnPipePropsMixin.PipeLogConfigurationProperty.Builder s3LogDestination(IResolvable s3LogDestination) Sets the value ofCfnPipePropsMixin.PipeLogConfigurationProperty.getS3LogDestination()- Parameters:
s3LogDestination- The Amazon S3 logging configuration settings for the pipe.- Returns:
this
-
s3LogDestination
@Stability(Stable) public CfnPipePropsMixin.PipeLogConfigurationProperty.Builder s3LogDestination(CfnPipePropsMixin.S3LogDestinationProperty s3LogDestination) Sets the value ofCfnPipePropsMixin.PipeLogConfigurationProperty.getS3LogDestination()- Parameters:
s3LogDestination- The Amazon S3 logging configuration settings for the pipe.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.PipeLogConfigurationProperty>- Returns:
- a new instance of
CfnPipePropsMixin.PipeLogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-