Struct aws_sdk_docdb::types::builders::DbInstanceStatusInfoBuilder
source · #[non_exhaustive]pub struct DbInstanceStatusInfoBuilder { /* private fields */ }
Expand description
A builder for DbInstanceStatusInfo
.
Implementations§
source§impl DbInstanceStatusInfoBuilder
impl DbInstanceStatusInfoBuilder
sourcepub fn status_type(self, input: impl Into<String>) -> Self
pub fn status_type(self, input: impl Into<String>) -> Self
This value is currently "read replication
."
sourcepub fn set_status_type(self, input: Option<String>) -> Self
pub fn set_status_type(self, input: Option<String>) -> Self
This value is currently "read replication
."
sourcepub fn get_status_type(&self) -> &Option<String>
pub fn get_status_type(&self) -> &Option<String>
This value is currently "read replication
."
sourcepub fn normal(self, input: bool) -> Self
pub fn normal(self, input: bool) -> Self
A Boolean value that is true
if the instance is operating normally, or false
if the instance is in an error state.
sourcepub fn set_normal(self, input: Option<bool>) -> Self
pub fn set_normal(self, input: Option<bool>) -> Self
A Boolean value that is true
if the instance is operating normally, or false
if the instance is in an error state.
sourcepub fn get_normal(&self) -> &Option<bool>
pub fn get_normal(&self) -> &Option<bool>
A Boolean value that is true
if the instance is operating normally, or false
if the instance is in an error state.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
Status of the instance. For a StatusType
of read replica, the values can be replicating
, error, stopped
, or terminated
.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
Status of the instance. For a StatusType
of read replica, the values can be replicating
, error, stopped
, or terminated
.
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
Status of the instance. For a StatusType
of read replica, the values can be replicating
, error, stopped
, or terminated
.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.
sourcepub fn build(self) -> DbInstanceStatusInfo
pub fn build(self) -> DbInstanceStatusInfo
Consumes the builder and constructs a DbInstanceStatusInfo
.
Trait Implementations§
source§impl Clone for DbInstanceStatusInfoBuilder
impl Clone for DbInstanceStatusInfoBuilder
source§fn clone(&self) -> DbInstanceStatusInfoBuilder
fn clone(&self) -> DbInstanceStatusInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbInstanceStatusInfoBuilder
impl Debug for DbInstanceStatusInfoBuilder
source§impl Default for DbInstanceStatusInfoBuilder
impl Default for DbInstanceStatusInfoBuilder
source§fn default() -> DbInstanceStatusInfoBuilder
fn default() -> DbInstanceStatusInfoBuilder
source§impl PartialEq for DbInstanceStatusInfoBuilder
impl PartialEq for DbInstanceStatusInfoBuilder
source§fn eq(&self, other: &DbInstanceStatusInfoBuilder) -> bool
fn eq(&self, other: &DbInstanceStatusInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DbInstanceStatusInfoBuilder
Auto Trait Implementations§
impl Freeze for DbInstanceStatusInfoBuilder
impl RefUnwindSafe for DbInstanceStatusInfoBuilder
impl Send for DbInstanceStatusInfoBuilder
impl Sync for DbInstanceStatusInfoBuilder
impl Unpin for DbInstanceStatusInfoBuilder
impl UnwindSafe for DbInstanceStatusInfoBuilder
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
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>
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>
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 more