#[non_exhaustive]pub struct RebootDbInstanceInputBuilder { /* private fields */ }Expand description
A builder for RebootDbInstanceInput.
Implementations§
source§impl RebootDbInstanceInputBuilder
impl RebootDbInstanceInputBuilder
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
The instance identifier. This parameter is stored as a lowercase string.
Constraints:
-
Must match the identifier of an existing
DBInstance.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
The instance identifier. This parameter is stored as a lowercase string.
Constraints:
-
Must match the identifier of an existing
DBInstance.
sourcepub fn force_failover(self, input: bool) -> Self
pub fn force_failover(self, input: bool) -> Self
When true, the reboot is conducted through a Multi-AZ failover.
Constraint: You can't specify true if the instance is not configured for Multi-AZ.
sourcepub fn set_force_failover(self, input: Option<bool>) -> Self
pub fn set_force_failover(self, input: Option<bool>) -> Self
When true, the reboot is conducted through a Multi-AZ failover.
Constraint: You can't specify true if the instance is not configured for Multi-AZ.
sourcepub fn build(self) -> Result<RebootDbInstanceInput, BuildError>
pub fn build(self) -> Result<RebootDbInstanceInput, BuildError>
Consumes the builder and constructs a RebootDbInstanceInput.
Trait Implementations§
source§impl Clone for RebootDbInstanceInputBuilder
impl Clone for RebootDbInstanceInputBuilder
source§fn clone(&self) -> RebootDbInstanceInputBuilder
fn clone(&self) -> RebootDbInstanceInputBuilder
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 Debug for RebootDbInstanceInputBuilder
impl Debug for RebootDbInstanceInputBuilder
source§impl Default for RebootDbInstanceInputBuilder
impl Default for RebootDbInstanceInputBuilder
source§fn default() -> RebootDbInstanceInputBuilder
fn default() -> RebootDbInstanceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RebootDbInstanceInputBuilder> for RebootDbInstanceInputBuilder
impl PartialEq<RebootDbInstanceInputBuilder> for RebootDbInstanceInputBuilder
source§fn eq(&self, other: &RebootDbInstanceInputBuilder) -> bool
fn eq(&self, other: &RebootDbInstanceInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.