#[non_exhaustive]pub struct DataReplicationCounterpartBuilder { /* private fields */ }
Expand description
A builder for DataReplicationCounterpart
.
Implementations§
source§impl DataReplicationCounterpartBuilder
impl DataReplicationCounterpartBuilder
sourcepub fn broker_id(self, input: impl Into<String>) -> Self
pub fn broker_id(self, input: impl Into<String>) -> Self
Required. The unique broker id generated by Amazon MQ.
This field is required.sourcepub fn set_broker_id(self, input: Option<String>) -> Self
pub fn set_broker_id(self, input: Option<String>) -> Self
Required. The unique broker id generated by Amazon MQ.
sourcepub fn get_broker_id(&self) -> &Option<String>
pub fn get_broker_id(&self) -> &Option<String>
Required. The unique broker id generated by Amazon MQ.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
Required. The region of the broker.
This field is required.sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
Required. The region of the broker.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
Required. The region of the broker.
sourcepub fn build(self) -> DataReplicationCounterpart
pub fn build(self) -> DataReplicationCounterpart
Consumes the builder and constructs a DataReplicationCounterpart
.
Trait Implementations§
source§impl Clone for DataReplicationCounterpartBuilder
impl Clone for DataReplicationCounterpartBuilder
source§fn clone(&self) -> DataReplicationCounterpartBuilder
fn clone(&self) -> DataReplicationCounterpartBuilder
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 DataReplicationCounterpartBuilder
impl Default for DataReplicationCounterpartBuilder
source§fn default() -> DataReplicationCounterpartBuilder
fn default() -> DataReplicationCounterpartBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DataReplicationCounterpartBuilder
impl PartialEq for DataReplicationCounterpartBuilder
source§fn eq(&self, other: &DataReplicationCounterpartBuilder) -> bool
fn eq(&self, other: &DataReplicationCounterpartBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataReplicationCounterpartBuilder
Auto Trait Implementations§
impl Freeze for DataReplicationCounterpartBuilder
impl RefUnwindSafe for DataReplicationCounterpartBuilder
impl Send for DataReplicationCounterpartBuilder
impl Sync for DataReplicationCounterpartBuilder
impl Unpin for DataReplicationCounterpartBuilder
impl UnwindSafe for DataReplicationCounterpartBuilder
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.