Struct aws_sdk_mq::types::builders::BrokerEngineTypeBuilder
source · #[non_exhaustive]pub struct BrokerEngineTypeBuilder { /* private fields */ }
Expand description
A builder for BrokerEngineType
.
Implementations§
source§impl BrokerEngineTypeBuilder
impl BrokerEngineTypeBuilder
sourcepub fn engine_type(self, input: EngineType) -> Self
pub fn engine_type(self, input: EngineType) -> Self
The broker's engine type.
sourcepub fn set_engine_type(self, input: Option<EngineType>) -> Self
pub fn set_engine_type(self, input: Option<EngineType>) -> Self
The broker's engine type.
sourcepub fn get_engine_type(&self) -> &Option<EngineType>
pub fn get_engine_type(&self) -> &Option<EngineType>
The broker's engine type.
sourcepub fn engine_versions(self, input: EngineVersion) -> Self
pub fn engine_versions(self, input: EngineVersion) -> Self
Appends an item to engine_versions
.
To override the contents of this collection use set_engine_versions
.
The list of engine versions.
sourcepub fn set_engine_versions(self, input: Option<Vec<EngineVersion>>) -> Self
pub fn set_engine_versions(self, input: Option<Vec<EngineVersion>>) -> Self
The list of engine versions.
sourcepub fn get_engine_versions(&self) -> &Option<Vec<EngineVersion>>
pub fn get_engine_versions(&self) -> &Option<Vec<EngineVersion>>
The list of engine versions.
sourcepub fn build(self) -> BrokerEngineType
pub fn build(self) -> BrokerEngineType
Consumes the builder and constructs a BrokerEngineType
.
Trait Implementations§
source§impl Clone for BrokerEngineTypeBuilder
impl Clone for BrokerEngineTypeBuilder
source§fn clone(&self) -> BrokerEngineTypeBuilder
fn clone(&self) -> BrokerEngineTypeBuilder
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 BrokerEngineTypeBuilder
impl Debug for BrokerEngineTypeBuilder
source§impl Default for BrokerEngineTypeBuilder
impl Default for BrokerEngineTypeBuilder
source§fn default() -> BrokerEngineTypeBuilder
fn default() -> BrokerEngineTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BrokerEngineTypeBuilder
impl PartialEq for BrokerEngineTypeBuilder
source§fn eq(&self, other: &BrokerEngineTypeBuilder) -> bool
fn eq(&self, other: &BrokerEngineTypeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BrokerEngineTypeBuilder
Auto Trait Implementations§
impl Freeze for BrokerEngineTypeBuilder
impl RefUnwindSafe for BrokerEngineTypeBuilder
impl Send for BrokerEngineTypeBuilder
impl Sync for BrokerEngineTypeBuilder
impl Unpin for BrokerEngineTypeBuilder
impl UnwindSafe for BrokerEngineTypeBuilder
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.