Struct aws_sdk_kafka::model::compatible_kafka_version::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CompatibleKafkaVersion
.
Implementations§
source§impl Builder
impl Builder
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
.