#[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 ==.impl StructuralPartialEq for RebootDbInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for RebootDbInstanceInputBuilder
impl RefUnwindSafe for RebootDbInstanceInputBuilder
impl Send for RebootDbInstanceInputBuilder
impl Sync for RebootDbInstanceInputBuilder
impl Unpin for RebootDbInstanceInputBuilder
impl UnwindSafe for RebootDbInstanceInputBuilder
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