#[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 get_db_instance_identifier(&self) -> &Option<String>
pub fn get_db_instance_identifier(&self) -> &Option<String>
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 get_force_failover(&self) -> &Option<bool>
pub fn get_force_failover(&self) -> &Option<bool>
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
.
source§impl RebootDbInstanceInputBuilder
impl RebootDbInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RebootDbInstanceOutput, SdkError<RebootDBInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RebootDbInstanceOutput, SdkError<RebootDBInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RebootDbInstanceInputBuilder
impl Clone for RebootDbInstanceInputBuilder
source§fn clone(&self) -> RebootDbInstanceInputBuilder
fn clone(&self) -> RebootDbInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for RebootDbInstanceInputBuilder
impl PartialEq for RebootDbInstanceInputBuilder
source§fn eq(&self, other: &RebootDbInstanceInputBuilder) -> bool
fn eq(&self, other: &RebootDbInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.