Struct aws_sdk_kafka::operation::get_compatible_kafka_versions::builders::GetCompatibleKafkaVersionsOutputBuilder
source · #[non_exhaustive]pub struct GetCompatibleKafkaVersionsOutputBuilder { /* private fields */ }Expand description
A builder for GetCompatibleKafkaVersionsOutput.
Implementations§
source§impl GetCompatibleKafkaVersionsOutputBuilder
impl GetCompatibleKafkaVersionsOutputBuilder
sourcepub fn compatible_kafka_versions(self, input: CompatibleKafkaVersion) -> Self
pub fn compatible_kafka_versions(self, input: CompatibleKafkaVersion) -> Self
Appends an item to compatible_kafka_versions.
To override the contents of this collection use set_compatible_kafka_versions.
A list of CompatibleKafkaVersion objects.
sourcepub fn set_compatible_kafka_versions(
self,
input: Option<Vec<CompatibleKafkaVersion>>
) -> Self
pub fn set_compatible_kafka_versions( self, input: Option<Vec<CompatibleKafkaVersion>> ) -> Self
A list of CompatibleKafkaVersion objects.
sourcepub fn build(self) -> GetCompatibleKafkaVersionsOutput
pub fn build(self) -> GetCompatibleKafkaVersionsOutput
Consumes the builder and constructs a GetCompatibleKafkaVersionsOutput.
Trait Implementations§
source§impl Clone for GetCompatibleKafkaVersionsOutputBuilder
impl Clone for GetCompatibleKafkaVersionsOutputBuilder
source§fn clone(&self) -> GetCompatibleKafkaVersionsOutputBuilder
fn clone(&self) -> GetCompatibleKafkaVersionsOutputBuilder
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 GetCompatibleKafkaVersionsOutputBuilder
impl Default for GetCompatibleKafkaVersionsOutputBuilder
source§fn default() -> GetCompatibleKafkaVersionsOutputBuilder
fn default() -> GetCompatibleKafkaVersionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetCompatibleKafkaVersionsOutputBuilder> for GetCompatibleKafkaVersionsOutputBuilder
impl PartialEq<GetCompatibleKafkaVersionsOutputBuilder> for GetCompatibleKafkaVersionsOutputBuilder
source§fn eq(&self, other: &GetCompatibleKafkaVersionsOutputBuilder) -> bool
fn eq(&self, other: &GetCompatibleKafkaVersionsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.