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 ==
.