Struct aws_sdk_elasticache::operation::modify_global_replication_group::builders::ModifyGlobalReplicationGroupFluentBuilder
source · pub struct ModifyGlobalReplicationGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyGlobalReplicationGroup
.
Modifies the settings for a Global datastore.
Implementations§
source§impl ModifyGlobalReplicationGroupFluentBuilder
impl ModifyGlobalReplicationGroupFluentBuilder
sourcepub fn as_input(&self) -> &ModifyGlobalReplicationGroupInputBuilder
pub fn as_input(&self) -> &ModifyGlobalReplicationGroupInputBuilder
Access the ModifyGlobalReplicationGroup as a reference.
sourcepub async fn send(
self
) -> Result<ModifyGlobalReplicationGroupOutput, SdkError<ModifyGlobalReplicationGroupError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyGlobalReplicationGroupOutput, SdkError<ModifyGlobalReplicationGroupError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<ModifyGlobalReplicationGroupOutput, ModifyGlobalReplicationGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<ModifyGlobalReplicationGroupOutput, ModifyGlobalReplicationGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_global_replication_group_id(&self) -> &Option<String>
pub fn get_global_replication_group_id(&self) -> &Option<String>
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 get_apply_immediately(&self) -> &Option<bool>
pub fn get_apply_immediately(&self) -> &Option<bool>
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 get_cache_node_type(&self) -> &Option<String>
pub fn get_cache_node_type(&self) -> &Option<String>
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 get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
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 get_cache_parameter_group_name(&self) -> &Option<String>
pub fn get_cache_parameter_group_name(&self) -> &Option<String>
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 get_global_replication_group_description(&self) -> &Option<String>
pub fn get_global_replication_group_description(&self) -> &Option<String>
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.
sourcepub fn get_automatic_failover_enabled(&self) -> &Option<bool>
pub fn get_automatic_failover_enabled(&self) -> &Option<bool>
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 ModifyGlobalReplicationGroupFluentBuilder
impl Clone for ModifyGlobalReplicationGroupFluentBuilder
source§fn clone(&self) -> ModifyGlobalReplicationGroupFluentBuilder
fn clone(&self) -> ModifyGlobalReplicationGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more