Class CfnChannel.TopicConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnChannel.TopicConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.TopicConfigurationProperty>
- Enclosing interface:
CfnChannel.TopicConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.TopicConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.TopicConfigurationProperty>
A builder for
CfnChannel.TopicConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.recordConverter(IResolvable recordConverter) Sets the value ofCfnChannel.TopicConfigurationProperty.getRecordConverter()recordConverter(CfnChannel.RecordConverterProperty recordConverter) Sets the value ofCfnChannel.TopicConfigurationProperty.getRecordConverter()recordSchema(IResolvable recordSchema) Sets the value ofCfnChannel.TopicConfigurationProperty.getRecordSchema()recordSchema(CfnChannel.RecordSchemaProperty recordSchema) Sets the value ofCfnChannel.TopicConfigurationProperty.getRecordSchema()Sets the value ofCfnChannel.TopicConfigurationProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordConverter
@Stability(Stable) public CfnChannel.TopicConfigurationProperty.Builder recordConverter(IResolvable recordConverter) Sets the value ofCfnChannel.TopicConfigurationProperty.getRecordConverter()- Parameters:
recordConverter- Record converter configuration for a topic. This parameter is required.- Returns:
this
-
recordConverter
@Stability(Stable) public CfnChannel.TopicConfigurationProperty.Builder recordConverter(CfnChannel.RecordConverterProperty recordConverter) Sets the value ofCfnChannel.TopicConfigurationProperty.getRecordConverter()- Parameters:
recordConverter- Record converter configuration for a topic. This parameter is required.- Returns:
this
-
topicArn
Sets the value ofCfnChannel.TopicConfigurationProperty.getTopicArn()- Parameters:
topicArn- The Amazon Resource Name (ARN) that uniquely identifies the topic. This parameter is required.- Returns:
this
-
recordSchema
@Stability(Stable) public CfnChannel.TopicConfigurationProperty.Builder recordSchema(IResolvable recordSchema) Sets the value ofCfnChannel.TopicConfigurationProperty.getRecordSchema()- Parameters:
recordSchema- Record schema configuration for a topic.- Returns:
this
-
recordSchema
@Stability(Stable) public CfnChannel.TopicConfigurationProperty.Builder recordSchema(CfnChannel.RecordSchemaProperty recordSchema) Sets the value ofCfnChannel.TopicConfigurationProperty.getRecordSchema()- Parameters:
recordSchema- Record schema configuration for a topic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.TopicConfigurationProperty>- Returns:
- a new instance of
CfnChannel.TopicConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-