#[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.
This field is required.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 get_replication_group_id(&self) -> &Option<String>
pub fn get_replication_group_id(&self) -> &Option<String>
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.
This field is required.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 get_node_group_id(&self) -> &Option<String>
pub fn get_node_group_id(&self) -> &Option<String>
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
.
source§impl TestFailoverInputBuilder
impl TestFailoverInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<TestFailoverOutput, SdkError<TestFailoverError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<TestFailoverOutput, SdkError<TestFailoverError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TestFailoverInputBuilder
impl Clone for TestFailoverInputBuilder
source§fn clone(&self) -> TestFailoverInputBuilder
fn clone(&self) -> TestFailoverInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for TestFailoverInputBuilder
impl PartialEq for TestFailoverInputBuilder
source§fn eq(&self, other: &TestFailoverInputBuilder) -> bool
fn eq(&self, other: &TestFailoverInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.