Struct aws_sdk_databasemigration::operation::reboot_replication_instance::RebootReplicationInstanceInput
source · #[non_exhaustive]pub struct RebootReplicationInstanceInput {
pub replication_instance_arn: Option<String>,
pub force_failover: Option<bool>,
pub force_planned_failover: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replication_instance_arn: Option<String>
The Amazon Resource Name (ARN) of the replication instance.
force_failover: Option<bool>
If this parameter is true
, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specify true
. ( --force-planned-failover
and --force-failover
can't both be set to true
.)
force_planned_failover: Option<bool>
If this parameter is true
, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specify true
. ( --force-planned-failover
and --force-failover
can't both be set to true
.)
Implementations§
source§impl RebootReplicationInstanceInput
impl RebootReplicationInstanceInput
sourcepub fn replication_instance_arn(&self) -> Option<&str>
pub fn replication_instance_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the replication instance.
sourcepub fn force_failover(&self) -> Option<bool>
pub fn force_failover(&self) -> Option<bool>
If this parameter is true
, the reboot is conducted through a Multi-AZ failover. If the instance isn't configured for Multi-AZ, then you can't specify true
. ( --force-planned-failover
and --force-failover
can't both be set to true
.)
sourcepub fn force_planned_failover(&self) -> Option<bool>
pub fn force_planned_failover(&self) -> Option<bool>
If this parameter is true
, the reboot is conducted through a planned Multi-AZ failover where resources are released and cleaned up prior to conducting the failover. If the instance isn''t configured for Multi-AZ, then you can't specify true
. ( --force-planned-failover
and --force-failover
can't both be set to true
.)
source§impl RebootReplicationInstanceInput
impl RebootReplicationInstanceInput
sourcepub fn builder() -> RebootReplicationInstanceInputBuilder
pub fn builder() -> RebootReplicationInstanceInputBuilder
Creates a new builder-style object to manufacture RebootReplicationInstanceInput
.
Trait Implementations§
source§impl Clone for RebootReplicationInstanceInput
impl Clone for RebootReplicationInstanceInput
source§fn clone(&self) -> RebootReplicationInstanceInput
fn clone(&self) -> RebootReplicationInstanceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RebootReplicationInstanceInput
impl PartialEq for RebootReplicationInstanceInput
source§fn eq(&self, other: &RebootReplicationInstanceInput) -> bool
fn eq(&self, other: &RebootReplicationInstanceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RebootReplicationInstanceInput
Auto Trait Implementations§
impl Freeze for RebootReplicationInstanceInput
impl RefUnwindSafe for RebootReplicationInstanceInput
impl Send for RebootReplicationInstanceInput
impl Sync for RebootReplicationInstanceInput
impl Unpin for RebootReplicationInstanceInput
impl UnwindSafe for RebootReplicationInstanceInput
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