Struct aws_sdk_elasticache::operation::modify_global_replication_group::builders::ModifyGlobalReplicationGroupInputBuilder
source · #[non_exhaustive]pub struct ModifyGlobalReplicationGroupInputBuilder { /* private fields */ }
Expand description
A builder for ModifyGlobalReplicationGroupInput
.
Implementations§
source§impl ModifyGlobalReplicationGroupInputBuilder
impl ModifyGlobalReplicationGroupInputBuilder
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
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<ModifyGlobalReplicationGroupInput, BuildError>
pub fn build(self) -> Result<ModifyGlobalReplicationGroupInput, BuildError>
Consumes the builder and constructs a ModifyGlobalReplicationGroupInput
.
source§impl ModifyGlobalReplicationGroupInputBuilder
impl ModifyGlobalReplicationGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyGlobalReplicationGroupOutput, SdkError<ModifyGlobalReplicationGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyGlobalReplicationGroupOutput, SdkError<ModifyGlobalReplicationGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyGlobalReplicationGroupInputBuilder
impl Clone for ModifyGlobalReplicationGroupInputBuilder
source§fn clone(&self) -> ModifyGlobalReplicationGroupInputBuilder
fn clone(&self) -> ModifyGlobalReplicationGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyGlobalReplicationGroupInputBuilder
impl Default for ModifyGlobalReplicationGroupInputBuilder
source§fn default() -> ModifyGlobalReplicationGroupInputBuilder
fn default() -> ModifyGlobalReplicationGroupInputBuilder
source§impl PartialEq for ModifyGlobalReplicationGroupInputBuilder
impl PartialEq for ModifyGlobalReplicationGroupInputBuilder
source§fn eq(&self, other: &ModifyGlobalReplicationGroupInputBuilder) -> bool
fn eq(&self, other: &ModifyGlobalReplicationGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.