#[non_exhaustive]pub struct AmazonManagedKafkaEventSourceConfigBuilder { /* private fields */ }Expand description
A builder for AmazonManagedKafkaEventSourceConfig.
Implementations§
source§impl AmazonManagedKafkaEventSourceConfigBuilder
impl AmazonManagedKafkaEventSourceConfigBuilder
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.
Trait Implementations§
source§impl Clone for AmazonManagedKafkaEventSourceConfigBuilder
impl Clone for AmazonManagedKafkaEventSourceConfigBuilder
source§fn clone(&self) -> AmazonManagedKafkaEventSourceConfigBuilder
fn clone(&self) -> AmazonManagedKafkaEventSourceConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AmazonManagedKafkaEventSourceConfigBuilder
impl Default for AmazonManagedKafkaEventSourceConfigBuilder
source§fn default() -> AmazonManagedKafkaEventSourceConfigBuilder
fn default() -> AmazonManagedKafkaEventSourceConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AmazonManagedKafkaEventSourceConfigBuilder> for AmazonManagedKafkaEventSourceConfigBuilder
impl PartialEq<AmazonManagedKafkaEventSourceConfigBuilder> for AmazonManagedKafkaEventSourceConfigBuilder
source§fn eq(&self, other: &AmazonManagedKafkaEventSourceConfigBuilder) -> bool
fn eq(&self, other: &AmazonManagedKafkaEventSourceConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AmazonManagedKafkaEventSourceConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AmazonManagedKafkaEventSourceConfigBuilder
impl Send for AmazonManagedKafkaEventSourceConfigBuilder
impl Sync for AmazonManagedKafkaEventSourceConfigBuilder
impl Unpin for AmazonManagedKafkaEventSourceConfigBuilder
impl UnwindSafe for AmazonManagedKafkaEventSourceConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more