#[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 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 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<CompatibleKafkaVersionBuilder> for CompatibleKafkaVersionBuilder
 
impl PartialEq<CompatibleKafkaVersionBuilder> 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 ==.