Struct aws_sdk_docdb::operation::failover_db_cluster::builders::FailoverDbClusterOutputBuilder
source · #[non_exhaustive]pub struct FailoverDbClusterOutputBuilder { /* private fields */ }Expand description
A builder for FailoverDbClusterOutput.
Implementations§
source§impl FailoverDbClusterOutputBuilder
impl FailoverDbClusterOutputBuilder
sourcepub fn db_cluster(self, input: DbCluster) -> Self
pub fn db_cluster(self, input: DbCluster) -> Self
Detailed information about a cluster.
sourcepub fn set_db_cluster(self, input: Option<DbCluster>) -> Self
pub fn set_db_cluster(self, input: Option<DbCluster>) -> Self
Detailed information about a cluster.
sourcepub fn get_db_cluster(&self) -> &Option<DbCluster>
pub fn get_db_cluster(&self) -> &Option<DbCluster>
Detailed information about a cluster.
sourcepub fn build(self) -> FailoverDbClusterOutput
pub fn build(self) -> FailoverDbClusterOutput
Consumes the builder and constructs a FailoverDbClusterOutput.
Trait Implementations§
source§impl Clone for FailoverDbClusterOutputBuilder
impl Clone for FailoverDbClusterOutputBuilder
source§fn clone(&self) -> FailoverDbClusterOutputBuilder
fn clone(&self) -> FailoverDbClusterOutputBuilder
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 FailoverDbClusterOutputBuilder
impl Default for FailoverDbClusterOutputBuilder
source§fn default() -> FailoverDbClusterOutputBuilder
fn default() -> FailoverDbClusterOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FailoverDbClusterOutputBuilder
impl PartialEq for FailoverDbClusterOutputBuilder
source§fn eq(&self, other: &FailoverDbClusterOutputBuilder) -> bool
fn eq(&self, other: &FailoverDbClusterOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FailoverDbClusterOutputBuilder
Auto Trait Implementations§
impl Freeze for FailoverDbClusterOutputBuilder
impl RefUnwindSafe for FailoverDbClusterOutputBuilder
impl Send for FailoverDbClusterOutputBuilder
impl Sync for FailoverDbClusterOutputBuilder
impl Unpin for FailoverDbClusterOutputBuilder
impl UnwindSafe for FailoverDbClusterOutputBuilder
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.