Class CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.ChannelLoggingInfoProperty>
- Enclosing interface:
CfnChannelPropsMixin.ChannelLoggingInfoProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.ChannelLoggingInfoProperty>
A builder for
CfnChannelPropsMixin.ChannelLoggingInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getCloudWatchLogs()cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getCloudWatchLogs()Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getFirehose()firehose(IResolvable firehose) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getFirehose()Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getS3()s3(IResolvable s3) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogs
@Stability(Stable) public CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- CloudWatch Logs log destination details.- Returns:
this
-
cloudWatchLogs
@Stability(Stable) public CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder cloudWatchLogs(CfnChannelPropsMixin.CloudWatchLogsLogDestinationProperty cloudWatchLogs) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- CloudWatch Logs log destination details.- Returns:
this
-
firehose
@Stability(Stable) public CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder firehose(IResolvable firehose) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getFirehose()- Parameters:
firehose- Firehose log destination details.- Returns:
this
-
firehose
@Stability(Stable) public CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder firehose(CfnChannelPropsMixin.FirehoseLogDestinationProperty firehose) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getFirehose()- Parameters:
firehose- Firehose log destination details.- Returns:
this
-
s3
@Stability(Stable) public CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder s3(IResolvable s3) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getS3()- Parameters:
s3- S3 log destination details.- Returns:
this
-
s3
@Stability(Stable) public CfnChannelPropsMixin.ChannelLoggingInfoProperty.Builder s3(CfnChannelPropsMixin.S3LogDestinationProperty s3) Sets the value ofCfnChannelPropsMixin.ChannelLoggingInfoProperty.getS3()- Parameters:
s3- S3 log destination details.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.ChannelLoggingInfoProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.ChannelLoggingInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-