Class CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty>
- Enclosing interface:
CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty>
-
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.SelfManagedKafkaEventSourceConfigProperty.Builder consumerGroupId(String consumerGroupId) Sets the value ofCfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty.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.SelfManagedKafkaEventSourceConfigProperty.Builder schemaRegistryConfig(IResolvable schemaRegistryConfig) Sets the value ofCfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty.getSchemaRegistryConfig()- Parameters:
schemaRegistryConfig- Specific configuration settings for a Kafka schema registry.- Returns:
this
-
schemaRegistryConfig
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty.Builder schemaRegistryConfig(CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty schemaRegistryConfig) Sets the value ofCfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty.getSchemaRegistryConfig()- Parameters:
schemaRegistryConfig- Specific configuration settings for a Kafka schema registry.- Returns:
this
-
build
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty>- Returns:
- a new instance of
CfnEventSourceMappingPropsMixin.SelfManagedKafkaEventSourceConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-