Class CfnChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelProps>
- Enclosing interface:
CfnChannelProps
@Stability(Stable)
public static final class CfnChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelProps>
A builder for
CfnChannelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelName(String channelName) Sets the value ofCfnChannelProps.getChannelName()clusterArn(String clusterArn) Sets the value ofCfnChannelProps.getClusterArn()encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnChannelProps.getEncryptionConfiguration()encryptionConfiguration(CfnChannel.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnChannelProps.getEncryptionConfiguration()icebergDestinationConfiguration(IResolvable icebergDestinationConfiguration) Sets the value ofCfnChannelProps.getIcebergDestinationConfiguration()icebergDestinationConfiguration(CfnChannel.IcebergDestinationConfigurationProperty icebergDestinationConfiguration) Sets the value ofCfnChannelProps.getIcebergDestinationConfiguration()loggingInfo(IResolvable loggingInfo) Sets the value ofCfnChannelProps.getLoggingInfo()loggingInfo(CfnChannel.ChannelLoggingInfoProperty loggingInfo) Sets the value ofCfnChannelProps.getLoggingInfo()s3DestinationConfiguration(IResolvable s3DestinationConfiguration) Sets the value ofCfnChannelProps.getS3DestinationConfiguration()s3DestinationConfiguration(CfnChannel.S3DestinationConfigurationProperty s3DestinationConfiguration) Sets the value ofCfnChannelProps.getS3DestinationConfiguration()Sets the value ofCfnChannelProps.getTags()topicConfigurationList(List<? extends Object> topicConfigurationList) Sets the value ofCfnChannelProps.getTopicConfigurationList()topicConfigurationList(IResolvable topicConfigurationList) Sets the value ofCfnChannelProps.getTopicConfigurationList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelName
Sets the value ofCfnChannelProps.getChannelName()- Parameters:
channelName- Name of the channel. This parameter is required.- Returns:
this
-
topicConfigurationList
@Stability(Stable) public CfnChannelProps.Builder topicConfigurationList(IResolvable topicConfigurationList) Sets the value ofCfnChannelProps.getTopicConfigurationList()- Parameters:
topicConfigurationList- Topic configuration. This parameter is required.- Returns:
this
-
topicConfigurationList
@Stability(Stable) public CfnChannelProps.Builder topicConfigurationList(List<? extends Object> topicConfigurationList) Sets the value ofCfnChannelProps.getTopicConfigurationList()- Parameters:
topicConfigurationList- Topic configuration. This parameter is required.- Returns:
this
-
clusterArn
Sets the value ofCfnChannelProps.getClusterArn()- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the cluster.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnChannelProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnChannelProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Encryption configuration.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnChannelProps.Builder encryptionConfiguration(CfnChannel.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnChannelProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Encryption configuration.- Returns:
this
-
icebergDestinationConfiguration
@Stability(Stable) public CfnChannelProps.Builder icebergDestinationConfiguration(IResolvable icebergDestinationConfiguration) Sets the value ofCfnChannelProps.getIcebergDestinationConfiguration()- Parameters:
icebergDestinationConfiguration- Iceberg destination configuration.- Returns:
this
-
icebergDestinationConfiguration
@Stability(Stable) public CfnChannelProps.Builder icebergDestinationConfiguration(CfnChannel.IcebergDestinationConfigurationProperty icebergDestinationConfiguration) Sets the value ofCfnChannelProps.getIcebergDestinationConfiguration()- Parameters:
icebergDestinationConfiguration- Iceberg destination configuration.- Returns:
this
-
loggingInfo
Sets the value ofCfnChannelProps.getLoggingInfo()- Parameters:
loggingInfo- Log configuration details for Channel.- Returns:
this
-
loggingInfo
@Stability(Stable) public CfnChannelProps.Builder loggingInfo(CfnChannel.ChannelLoggingInfoProperty loggingInfo) Sets the value ofCfnChannelProps.getLoggingInfo()- Parameters:
loggingInfo- Log configuration details for Channel.- Returns:
this
-
s3DestinationConfiguration
@Stability(Stable) public CfnChannelProps.Builder s3DestinationConfiguration(IResolvable s3DestinationConfiguration) Sets the value ofCfnChannelProps.getS3DestinationConfiguration()- Parameters:
s3DestinationConfiguration- S3 destination configuration.- Returns:
this
-
s3DestinationConfiguration
@Stability(Stable) public CfnChannelProps.Builder s3DestinationConfiguration(CfnChannel.S3DestinationConfigurationProperty s3DestinationConfiguration) Sets the value ofCfnChannelProps.getS3DestinationConfiguration()- Parameters:
s3DestinationConfiguration- S3 destination configuration.- Returns:
this
-
tags
Sets the value ofCfnChannelProps.getTags()- Parameters:
tags- Tags attached to the channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelProps>- Returns:
- a new instance of
CfnChannelProps - Throws:
NullPointerException- if any required attribute was not provided
-