pub struct ModifyGlobalReplicationGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyGlobalReplicationGroup
.
Modifies the settings for a Global datastore.
Implementations§
source§impl ModifyGlobalReplicationGroup
impl ModifyGlobalReplicationGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyGlobalReplicationGroup, AwsResponseRetryClassifier>, SdkError<ModifyGlobalReplicationGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ModifyGlobalReplicationGroup, AwsResponseRetryClassifier>, SdkError<ModifyGlobalReplicationGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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§
source§impl Clone for ModifyGlobalReplicationGroup
impl Clone for ModifyGlobalReplicationGroup
source§fn clone(&self) -> ModifyGlobalReplicationGroup
fn clone(&self) -> ModifyGlobalReplicationGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more