#[non_exhaustive]pub struct CompatibleKafkaVersionBuilder { /* private fields */ }
Expand description
A builder for CompatibleKafkaVersion
.
Implementations§
source§impl CompatibleKafkaVersionBuilder
impl CompatibleKafkaVersionBuilder
sourcepub fn source_version(self, input: impl Into<String>) -> Self
pub fn source_version(self, input: impl Into<String>) -> Self
An Apache Kafka version.
sourcepub fn set_source_version(self, input: Option<String>) -> Self
pub fn set_source_version(self, input: Option<String>) -> Self
An Apache Kafka version.
sourcepub fn get_source_version(&self) -> &Option<String>
pub fn get_source_version(&self) -> &Option<String>
An Apache Kafka version.
sourcepub fn target_versions(self, input: impl Into<String>) -> Self
pub fn target_versions(self, input: impl Into<String>) -> Self
Appends an item to target_versions
.
To override the contents of this collection use set_target_versions
.
A list of Apache Kafka versions.
sourcepub fn set_target_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_target_versions(self, input: Option<Vec<String>>) -> Self
A list of Apache Kafka versions.
sourcepub fn get_target_versions(&self) -> &Option<Vec<String>>
pub fn get_target_versions(&self) -> &Option<Vec<String>>
A list of Apache Kafka versions.
sourcepub fn build(self) -> CompatibleKafkaVersion
pub fn build(self) -> CompatibleKafkaVersion
Consumes the builder and constructs a CompatibleKafkaVersion
.
Trait Implementations§
source§impl Clone for CompatibleKafkaVersionBuilder
impl Clone for CompatibleKafkaVersionBuilder
source§fn clone(&self) -> CompatibleKafkaVersionBuilder
fn clone(&self) -> CompatibleKafkaVersionBuilder
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 CompatibleKafkaVersionBuilder
impl Default for CompatibleKafkaVersionBuilder
source§fn default() -> CompatibleKafkaVersionBuilder
fn default() -> CompatibleKafkaVersionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CompatibleKafkaVersionBuilder
impl PartialEq for CompatibleKafkaVersionBuilder
source§fn eq(&self, other: &CompatibleKafkaVersionBuilder) -> bool
fn eq(&self, other: &CompatibleKafkaVersionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CompatibleKafkaVersionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CompatibleKafkaVersionBuilder
impl Send for CompatibleKafkaVersionBuilder
impl Sync for CompatibleKafkaVersionBuilder
impl Unpin for CompatibleKafkaVersionBuilder
impl UnwindSafe for CompatibleKafkaVersionBuilder
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
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>
Creates a shared type from an unshared type.