#[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 15 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 15 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 15 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 ==
.impl StructuralPartialEq for TestFailoverInputBuilder
Auto Trait Implementations§
impl Freeze for TestFailoverInputBuilder
impl RefUnwindSafe for TestFailoverInputBuilder
impl Send for TestFailoverInputBuilder
impl Sync for TestFailoverInputBuilder
impl Unpin for TestFailoverInputBuilder
impl UnwindSafe for TestFailoverInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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