Struct aws_sdk_kafka::types::builders::ConfigurationInfoBuilder
source · #[non_exhaustive]pub struct ConfigurationInfoBuilder { /* private fields */ }
Expand description
A builder for ConfigurationInfo
.
Implementations§
source§impl ConfigurationInfoBuilder
impl ConfigurationInfoBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
ARN of the configuration to use.
This field is required.sourcepub fn revision(self, input: i64) -> Self
pub fn revision(self, input: i64) -> Self
The revision of the configuration to use.
This field is required.sourcepub fn set_revision(self, input: Option<i64>) -> Self
pub fn set_revision(self, input: Option<i64>) -> Self
The revision of the configuration to use.
sourcepub fn get_revision(&self) -> &Option<i64>
pub fn get_revision(&self) -> &Option<i64>
The revision of the configuration to use.
sourcepub fn build(self) -> ConfigurationInfo
pub fn build(self) -> ConfigurationInfo
Consumes the builder and constructs a ConfigurationInfo
.
Trait Implementations§
source§impl Clone for ConfigurationInfoBuilder
impl Clone for ConfigurationInfoBuilder
source§fn clone(&self) -> ConfigurationInfoBuilder
fn clone(&self) -> ConfigurationInfoBuilder
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 Debug for ConfigurationInfoBuilder
impl Debug for ConfigurationInfoBuilder
source§impl Default for ConfigurationInfoBuilder
impl Default for ConfigurationInfoBuilder
source§fn default() -> ConfigurationInfoBuilder
fn default() -> ConfigurationInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConfigurationInfoBuilder
impl PartialEq for ConfigurationInfoBuilder
source§fn eq(&self, other: &ConfigurationInfoBuilder) -> bool
fn eq(&self, other: &ConfigurationInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationInfoBuilder
Auto Trait Implementations§
impl Freeze for ConfigurationInfoBuilder
impl RefUnwindSafe for ConfigurationInfoBuilder
impl Send for ConfigurationInfoBuilder
impl Sync for ConfigurationInfoBuilder
impl Unpin for ConfigurationInfoBuilder
impl UnwindSafe for ConfigurationInfoBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.