pub struct ModifyGlobalReplicationGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyGlobalReplicationGroup
.
Modifies the settings for a Global datastore.
Implementations
sourceimpl ModifyGlobalReplicationGroup
impl ModifyGlobalReplicationGroup
sourcepub async fn send(
self
) -> Result<ModifyGlobalReplicationGroupOutput, SdkError<ModifyGlobalReplicationGroupError>>
pub async fn send(
self
) -> Result<ModifyGlobalReplicationGroupOutput, SdkError<ModifyGlobalReplicationGroupError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn global_replication_group_id(self, input: impl Into<String>) -> Self
pub fn global_replication_group_id(self, input: impl Into<String>) -> Self
The name of the Global datastore
sourcepub fn set_global_replication_group_id(self, input: Option<String>) -> Self
pub fn set_global_replication_group_id(self, input: Option<String>) -> Self
The name of the Global datastore
sourcepub fn apply_immediately(self, input: bool) -> Self
pub fn apply_immediately(self, input: bool) -> Self
This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.
sourcepub fn set_apply_immediately(self, input: Option<bool>) -> Self
pub fn set_apply_immediately(self, input: Option<bool>) -> Self
This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.
sourcepub fn cache_node_type(self, input: impl Into<String>) -> Self
pub fn cache_node_type(self, input: impl Into<String>) -> Self
A valid cache node type that you want to scale this Global datastore to.
sourcepub fn set_cache_node_type(self, input: Option<String>) -> Self
pub fn set_cache_node_type(self, input: Option<String>) -> Self
A valid cache node type that you want to scale this Global datastore to.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The upgraded version of the cache engine to be run on the clusters in the Global datastore.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The upgraded version of the cache engine to be run on the clusters in the Global datastore.
sourcepub fn cache_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn cache_parameter_group_name(self, input: impl Into<String>) -> Self
The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
sourcepub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.
sourcepub fn global_replication_group_description(
self,
input: impl Into<String>
) -> Self
pub fn global_replication_group_description(
self,
input: impl Into<String>
) -> Self
A description of the Global datastore
sourcepub fn set_global_replication_group_description(
self,
input: Option<String>
) -> Self
pub fn set_global_replication_group_description(
self,
input: Option<String>
) -> Self
A description of the Global datastore
sourcepub fn automatic_failover_enabled(self, input: bool) -> Self
pub fn automatic_failover_enabled(self, input: bool) -> Self
Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
sourcepub fn set_automatic_failover_enabled(self, input: Option<bool>) -> Self
pub fn set_automatic_failover_enabled(self, input: Option<bool>) -> Self
Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
Trait Implementations
sourceimpl Clone for ModifyGlobalReplicationGroup
impl Clone for ModifyGlobalReplicationGroup
sourcefn clone(&self) -> ModifyGlobalReplicationGroup
fn clone(&self) -> ModifyGlobalReplicationGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ModifyGlobalReplicationGroup
impl Send for ModifyGlobalReplicationGroup
impl Sync for ModifyGlobalReplicationGroup
impl Unpin for ModifyGlobalReplicationGroup
impl !UnwindSafe for ModifyGlobalReplicationGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more