Struct aws_sdk_databasemigration::operation::reboot_replication_instance::builders::RebootReplicationInstanceInputBuilder
source · #[non_exhaustive]pub struct RebootReplicationInstanceInputBuilder { /* private fields */ }
Expand description
A builder for RebootReplicationInstanceInput
.
Implementations§
source§impl RebootReplicationInstanceInputBuilder
impl RebootReplicationInstanceInputBuilder
sourcepub fn replication_instance_arn(self, input: impl Into<String>) -> Self
pub fn replication_instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the replication instance.
This field is required.sourcepub fn set_replication_instance_arn(self, input: Option<String>) -> Self
pub fn set_replication_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the replication instance.
sourcepub fn get_replication_instance_arn(&self) -> &Option<String>
pub fn get_replication_instance_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the replication instance.
sourcepub fn force_failover(self, input: bool) -> Self
pub fn force_failover(self, input: bool) -> Self
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 set_force_failover(self, input: Option<bool>) -> Self
pub fn set_force_failover(self, input: Option<bool>) -> Self
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 get_force_failover(&self) -> &Option<bool>
pub fn get_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, input: bool) -> Self
pub fn force_planned_failover(self, input: bool) -> Self
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
.)
sourcepub fn set_force_planned_failover(self, input: Option<bool>) -> Self
pub fn set_force_planned_failover(self, input: Option<bool>) -> Self
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
.)
sourcepub fn get_force_planned_failover(&self) -> &Option<bool>
pub fn get_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
.)
sourcepub fn build(self) -> Result<RebootReplicationInstanceInput, BuildError>
pub fn build(self) -> Result<RebootReplicationInstanceInput, BuildError>
Consumes the builder and constructs a RebootReplicationInstanceInput
.
source§impl RebootReplicationInstanceInputBuilder
impl RebootReplicationInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RebootReplicationInstanceOutput, SdkError<RebootReplicationInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RebootReplicationInstanceOutput, SdkError<RebootReplicationInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RebootReplicationInstanceInputBuilder
impl Clone for RebootReplicationInstanceInputBuilder
source§fn clone(&self) -> RebootReplicationInstanceInputBuilder
fn clone(&self) -> RebootReplicationInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RebootReplicationInstanceInputBuilder
impl Default for RebootReplicationInstanceInputBuilder
source§fn default() -> RebootReplicationInstanceInputBuilder
fn default() -> RebootReplicationInstanceInputBuilder
source§impl PartialEq for RebootReplicationInstanceInputBuilder
impl PartialEq for RebootReplicationInstanceInputBuilder
source§fn eq(&self, other: &RebootReplicationInstanceInputBuilder) -> bool
fn eq(&self, other: &RebootReplicationInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RebootReplicationInstanceInputBuilder
Auto Trait Implementations§
impl Freeze for RebootReplicationInstanceInputBuilder
impl RefUnwindSafe for RebootReplicationInstanceInputBuilder
impl Send for RebootReplicationInstanceInputBuilder
impl Sync for RebootReplicationInstanceInputBuilder
impl Unpin for RebootReplicationInstanceInputBuilder
impl UnwindSafe for RebootReplicationInstanceInputBuilder
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