Class CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty>
- Enclosing interface:
CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.consumerGroupId(String consumerGroupId) schemaRegistryConfig(CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty schemaRegistryConfig) schemaRegistryConfig(IResolvable schemaRegistryConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
consumerGroupId
@Stability(Stable) public CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.Builder consumerGroupId(String consumerGroupId) Sets the value ofCfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.getConsumerGroupId()- Parameters:
consumerGroupId- The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID .- Returns:
this
-
schemaRegistryConfig
@Stability(Stable) public CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.Builder schemaRegistryConfig(IResolvable schemaRegistryConfig) Sets the value ofCfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.getSchemaRegistryConfig()- Parameters:
schemaRegistryConfig- Specific configuration settings for a Kafka schema registry.- Returns:
this
-
schemaRegistryConfig
@Stability(Stable) public CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.Builder schemaRegistryConfig(CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty schemaRegistryConfig) Sets the value ofCfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty.getSchemaRegistryConfig()- Parameters:
schemaRegistryConfig- Specific configuration settings for a Kafka schema registry.- Returns:
this
-
build
@Stability(Stable) public CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty>- Returns:
- a new instance of
CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-