Class CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty>
- Enclosing interface:
CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.consumerGroupId
(String consumerGroupId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
consumerGroupId
@Stability(Stable) public CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty.Builder consumerGroupId(String consumerGroupId) Sets the value ofCfnEventSourceMapping.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
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty>
- Returns:
- a new instance of
CfnEventSourceMapping.SelfManagedKafkaEventSourceConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-