Struct aws_sdk_docdb::model::db_instance_status_info::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DbInstanceStatusInfo.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> DbInstanceStatusInfo
pub fn build(self) -> DbInstanceStatusInfo
Consumes the builder and constructs a DbInstanceStatusInfo.