#[non_exhaustive]pub struct AmazonManagedKafkaEventSourceConfig {
pub consumer_group_id: Option<String>,
}
Expand description
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.consumer_group_id: 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.
Implementations§
source§impl AmazonManagedKafkaEventSourceConfig
impl AmazonManagedKafkaEventSourceConfig
sourcepub fn consumer_group_id(&self) -> Option<&str>
pub fn consumer_group_id(&self) -> Option<&str>
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.
source§impl AmazonManagedKafkaEventSourceConfig
impl AmazonManagedKafkaEventSourceConfig
sourcepub fn builder() -> AmazonManagedKafkaEventSourceConfigBuilder
pub fn builder() -> AmazonManagedKafkaEventSourceConfigBuilder
Creates a new builder-style object to manufacture AmazonManagedKafkaEventSourceConfig
.
Trait Implementations§
source§impl Clone for AmazonManagedKafkaEventSourceConfig
impl Clone for AmazonManagedKafkaEventSourceConfig
source§fn clone(&self) -> AmazonManagedKafkaEventSourceConfig
fn clone(&self) -> AmazonManagedKafkaEventSourceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AmazonManagedKafkaEventSourceConfig
impl PartialEq for AmazonManagedKafkaEventSourceConfig
source§fn eq(&self, other: &AmazonManagedKafkaEventSourceConfig) -> bool
fn eq(&self, other: &AmazonManagedKafkaEventSourceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AmazonManagedKafkaEventSourceConfig
Auto Trait Implementations§
impl Freeze for AmazonManagedKafkaEventSourceConfig
impl RefUnwindSafe for AmazonManagedKafkaEventSourceConfig
impl Send for AmazonManagedKafkaEventSourceConfig
impl Sync for AmazonManagedKafkaEventSourceConfig
impl Unpin for AmazonManagedKafkaEventSourceConfig
impl UnwindSafe for AmazonManagedKafkaEventSourceConfig
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