Struct aws_sdk_docdb::operation::create_global_cluster::builders::CreateGlobalClusterOutputBuilder
source · #[non_exhaustive]pub struct CreateGlobalClusterOutputBuilder { /* private fields */ }
Expand description
A builder for CreateGlobalClusterOutput
.
Implementations§
source§impl CreateGlobalClusterOutputBuilder
impl CreateGlobalClusterOutputBuilder
sourcepub fn global_cluster(self, input: GlobalCluster) -> Self
pub fn global_cluster(self, input: GlobalCluster) -> Self
A data type representing an Amazon DocumentDB global cluster.
sourcepub fn set_global_cluster(self, input: Option<GlobalCluster>) -> Self
pub fn set_global_cluster(self, input: Option<GlobalCluster>) -> Self
A data type representing an Amazon DocumentDB global cluster.
sourcepub fn get_global_cluster(&self) -> &Option<GlobalCluster>
pub fn get_global_cluster(&self) -> &Option<GlobalCluster>
A data type representing an Amazon DocumentDB global cluster.
sourcepub fn build(self) -> CreateGlobalClusterOutput
pub fn build(self) -> CreateGlobalClusterOutput
Consumes the builder and constructs a CreateGlobalClusterOutput
.
Trait Implementations§
source§impl Clone for CreateGlobalClusterOutputBuilder
impl Clone for CreateGlobalClusterOutputBuilder
source§fn clone(&self) -> CreateGlobalClusterOutputBuilder
fn clone(&self) -> CreateGlobalClusterOutputBuilder
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 CreateGlobalClusterOutputBuilder
impl Default for CreateGlobalClusterOutputBuilder
source§fn default() -> CreateGlobalClusterOutputBuilder
fn default() -> CreateGlobalClusterOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateGlobalClusterOutputBuilder
impl PartialEq for CreateGlobalClusterOutputBuilder
source§fn eq(&self, other: &CreateGlobalClusterOutputBuilder) -> bool
fn eq(&self, other: &CreateGlobalClusterOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateGlobalClusterOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateGlobalClusterOutputBuilder
impl RefUnwindSafe for CreateGlobalClusterOutputBuilder
impl Send for CreateGlobalClusterOutputBuilder
impl Sync for CreateGlobalClusterOutputBuilder
impl Unpin for CreateGlobalClusterOutputBuilder
impl UnwindSafe for CreateGlobalClusterOutputBuilder
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.