pub struct Builder { /* private fields */ }
Expand description
A builder for AmazonManagedKafkaEventSourceConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn consumer_group_id(self, input: impl Into<String>) -> Self
pub fn consumer_group_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_consumer_group_id(self, input: Option<String>) -> Self
pub fn set_consumer_group_id(self, input: Option<String>) -> Self
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.
sourcepub fn build(self) -> AmazonManagedKafkaEventSourceConfig
pub fn build(self) -> AmazonManagedKafkaEventSourceConfig
Consumes the builder and constructs a AmazonManagedKafkaEventSourceConfig
.