pub struct Builder { /* private fields */ }
Expand description
A builder for RebootReplicationInstanceInput
.
Implementations§
source§impl Builder
impl Builder
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.
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 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 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 build(self) -> Result<RebootReplicationInstanceInput, BuildError>
pub fn build(self) -> Result<RebootReplicationInstanceInput, BuildError>
Consumes the builder and constructs a RebootReplicationInstanceInput
.