#[non_exhaustive]pub struct SelfManagedKafkaEventSourceConfigBuilder { /* private fields */ }
Expand description
A builder for SelfManagedKafkaEventSourceConfig
.
Implementations§
source§impl SelfManagedKafkaEventSourceConfigBuilder
impl SelfManagedKafkaEventSourceConfigBuilder
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 get_consumer_group_id(&self) -> &Option<String>
pub fn get_consumer_group_id(&self) -> &Option<String>
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) -> SelfManagedKafkaEventSourceConfig
pub fn build(self) -> SelfManagedKafkaEventSourceConfig
Consumes the builder and constructs a SelfManagedKafkaEventSourceConfig
.
Trait Implementations§
source§impl Clone for SelfManagedKafkaEventSourceConfigBuilder
impl Clone for SelfManagedKafkaEventSourceConfigBuilder
source§fn clone(&self) -> SelfManagedKafkaEventSourceConfigBuilder
fn clone(&self) -> SelfManagedKafkaEventSourceConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SelfManagedKafkaEventSourceConfigBuilder
impl Default for SelfManagedKafkaEventSourceConfigBuilder
source§fn default() -> SelfManagedKafkaEventSourceConfigBuilder
fn default() -> SelfManagedKafkaEventSourceConfigBuilder
source§impl PartialEq for SelfManagedKafkaEventSourceConfigBuilder
impl PartialEq for SelfManagedKafkaEventSourceConfigBuilder
source§fn eq(&self, other: &SelfManagedKafkaEventSourceConfigBuilder) -> bool
fn eq(&self, other: &SelfManagedKafkaEventSourceConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SelfManagedKafkaEventSourceConfigBuilder
Auto Trait Implementations§
impl Freeze for SelfManagedKafkaEventSourceConfigBuilder
impl RefUnwindSafe for SelfManagedKafkaEventSourceConfigBuilder
impl Send for SelfManagedKafkaEventSourceConfigBuilder
impl Sync for SelfManagedKafkaEventSourceConfigBuilder
impl Unpin for SelfManagedKafkaEventSourceConfigBuilder
impl UnwindSafe for SelfManagedKafkaEventSourceConfigBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more