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