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