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 ==
.