#[non_exhaustive]pub struct TestFailoverInputBuilder { /* private fields */ }
Expand description
A builder for TestFailoverInput
.
Implementations§
source§impl TestFailoverInputBuilder
impl TestFailoverInputBuilder
sourcepub fn replication_group_id(self, input: impl Into<String>) -> Self
pub fn replication_group_id(self, input: impl Into<String>) -> Self
The name of the replication group (console: cluster) whose automatic failover is being tested by this operation.
sourcepub fn set_replication_group_id(self, input: Option<String>) -> Self
pub fn set_replication_group_id(self, input: Option<String>) -> Self
The name of the replication group (console: cluster) whose automatic failover is being tested by this operation.
sourcepub fn node_group_id(self, input: impl Into<String>) -> Self
pub fn node_group_id(self, input: impl Into<String>) -> Self
The name of the node group (called shard in the console) in this replication group on which automatic failover is to be tested. You may test automatic failover on up to 5 node groups in any rolling 24-hour period.
sourcepub fn set_node_group_id(self, input: Option<String>) -> Self
pub fn set_node_group_id(self, input: Option<String>) -> Self
The name of the node group (called shard in the console) in this replication group on which automatic failover is to be tested. You may test automatic failover on up to 5 node groups in any rolling 24-hour period.
sourcepub fn build(self) -> Result<TestFailoverInput, BuildError>
pub fn build(self) -> Result<TestFailoverInput, BuildError>
Consumes the builder and constructs a TestFailoverInput
.
Trait Implementations§
source§impl Clone for TestFailoverInputBuilder
impl Clone for TestFailoverInputBuilder
source§fn clone(&self) -> TestFailoverInputBuilder
fn clone(&self) -> TestFailoverInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TestFailoverInputBuilder
impl Debug for TestFailoverInputBuilder
source§impl Default for TestFailoverInputBuilder
impl Default for TestFailoverInputBuilder
source§fn default() -> TestFailoverInputBuilder
fn default() -> TestFailoverInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TestFailoverInputBuilder> for TestFailoverInputBuilder
impl PartialEq<TestFailoverInputBuilder> for TestFailoverInputBuilder
source§fn eq(&self, other: &TestFailoverInputBuilder) -> bool
fn eq(&self, other: &TestFailoverInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.