Struct aws_sdk_mq::types::builders::ConfigurationsBuilder
source · #[non_exhaustive]pub struct ConfigurationsBuilder { /* private fields */ }
Expand description
A builder for Configurations
.
Implementations§
source§impl ConfigurationsBuilder
impl ConfigurationsBuilder
sourcepub fn current(self, input: ConfigurationId) -> Self
pub fn current(self, input: ConfigurationId) -> Self
The broker's current configuration.
sourcepub fn set_current(self, input: Option<ConfigurationId>) -> Self
pub fn set_current(self, input: Option<ConfigurationId>) -> Self
The broker's current configuration.
sourcepub fn get_current(&self) -> &Option<ConfigurationId>
pub fn get_current(&self) -> &Option<ConfigurationId>
The broker's current configuration.
sourcepub fn history(self, input: ConfigurationId) -> Self
pub fn history(self, input: ConfigurationId) -> Self
Appends an item to history
.
To override the contents of this collection use set_history
.
The history of configurations applied to the broker.
sourcepub fn set_history(self, input: Option<Vec<ConfigurationId>>) -> Self
pub fn set_history(self, input: Option<Vec<ConfigurationId>>) -> Self
The history of configurations applied to the broker.
sourcepub fn get_history(&self) -> &Option<Vec<ConfigurationId>>
pub fn get_history(&self) -> &Option<Vec<ConfigurationId>>
The history of configurations applied to the broker.
sourcepub fn pending(self, input: ConfigurationId) -> Self
pub fn pending(self, input: ConfigurationId) -> Self
The broker's pending configuration.
sourcepub fn set_pending(self, input: Option<ConfigurationId>) -> Self
pub fn set_pending(self, input: Option<ConfigurationId>) -> Self
The broker's pending configuration.
sourcepub fn get_pending(&self) -> &Option<ConfigurationId>
pub fn get_pending(&self) -> &Option<ConfigurationId>
The broker's pending configuration.
sourcepub fn build(self) -> Configurations
pub fn build(self) -> Configurations
Consumes the builder and constructs a Configurations
.
Trait Implementations§
source§impl Clone for ConfigurationsBuilder
impl Clone for ConfigurationsBuilder
source§fn clone(&self) -> ConfigurationsBuilder
fn clone(&self) -> ConfigurationsBuilder
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 ConfigurationsBuilder
impl Debug for ConfigurationsBuilder
source§impl Default for ConfigurationsBuilder
impl Default for ConfigurationsBuilder
source§fn default() -> ConfigurationsBuilder
fn default() -> ConfigurationsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConfigurationsBuilder
impl PartialEq for ConfigurationsBuilder
source§fn eq(&self, other: &ConfigurationsBuilder) -> bool
fn eq(&self, other: &ConfigurationsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationsBuilder
Auto Trait Implementations§
impl Freeze for ConfigurationsBuilder
impl RefUnwindSafe for ConfigurationsBuilder
impl Send for ConfigurationsBuilder
impl Sync for ConfigurationsBuilder
impl Unpin for ConfigurationsBuilder
impl UnwindSafe for ConfigurationsBuilder
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.