public static final class CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty |
build()
Builds the configured instance.
|
CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty.Builder |
consumerGroupId(java.lang.String consumerGroupId)
|
public CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty.Builder consumerGroupId(java.lang.String consumerGroupId)
CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty.getConsumerGroupId()
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 .this
public CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty build()
CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided