Struct aws_sdk_mq::types::builders::ConfigurationIdBuilder   
source · #[non_exhaustive]pub struct ConfigurationIdBuilder { /* private fields */ }Expand description
A builder for ConfigurationId.
Implementations§
source§impl ConfigurationIdBuilder
 
impl ConfigurationIdBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
 
pub fn id(self, input: impl Into<String>) -> Self
Required. The unique ID that Amazon MQ generates for the configuration.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
 
pub fn set_id(self, input: Option<String>) -> Self
Required. The unique ID that Amazon MQ generates for the configuration.
sourcepub fn get_id(&self) -> &Option<String>
 
pub fn get_id(&self) -> &Option<String>
Required. The unique ID that Amazon MQ generates for the configuration.
sourcepub fn set_revision(self, input: Option<i32>) -> Self
 
pub fn set_revision(self, input: Option<i32>) -> Self
The revision number of the configuration.
sourcepub fn get_revision(&self) -> &Option<i32>
 
pub fn get_revision(&self) -> &Option<i32>
The revision number of the configuration.
sourcepub fn build(self) -> ConfigurationId
 
pub fn build(self) -> ConfigurationId
Consumes the builder and constructs a ConfigurationId.
Trait Implementations§
source§impl Clone for ConfigurationIdBuilder
 
impl Clone for ConfigurationIdBuilder
source§fn clone(&self) -> ConfigurationIdBuilder
 
fn clone(&self) -> ConfigurationIdBuilder
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 ConfigurationIdBuilder
 
impl Debug for ConfigurationIdBuilder
source§impl Default for ConfigurationIdBuilder
 
impl Default for ConfigurationIdBuilder
source§fn default() -> ConfigurationIdBuilder
 
fn default() -> ConfigurationIdBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConfigurationIdBuilder
 
impl PartialEq for ConfigurationIdBuilder
source§fn eq(&self, other: &ConfigurationIdBuilder) -> bool
 
fn eq(&self, other: &ConfigurationIdBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfigurationIdBuilder
Auto Trait Implementations§
impl Freeze for ConfigurationIdBuilder
impl RefUnwindSafe for ConfigurationIdBuilder
impl Send for ConfigurationIdBuilder
impl Sync for ConfigurationIdBuilder
impl Unpin for ConfigurationIdBuilder
impl UnwindSafe for ConfigurationIdBuilder
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.