#[non_exhaustive]pub struct ModifyGlobalReplicationGroupInput {
pub global_replication_group_id: Option<String>,
pub apply_immediately: bool,
pub cache_node_type: Option<String>,
pub engine_version: Option<String>,
pub cache_parameter_group_name: Option<String>,
pub global_replication_group_description: Option<String>,
pub automatic_failover_enabled: Option<bool>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.global_replication_group_id: Option<String>
The name of the Global datastore
apply_immediately: 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.
cache_node_type: Option<String>
A valid cache node type that you want to scale this Global datastore to.
engine_version: Option<String>
The upgraded version of the cache engine to be run on the clusters in the Global datastore.
cache_parameter_group_name: 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.
global_replication_group_description: Option<String>
A description of the Global datastore
automatic_failover_enabled: Option<bool>
Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.
Implementations
sourceimpl ModifyGlobalReplicationGroupInput
impl ModifyGlobalReplicationGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyGlobalReplicationGroup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyGlobalReplicationGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyGlobalReplicationGroup
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyGlobalReplicationGroupInput
sourceimpl ModifyGlobalReplicationGroupInput
impl ModifyGlobalReplicationGroupInput
sourcepub fn global_replication_group_id(&self) -> Option<&str>
pub fn global_replication_group_id(&self) -> Option<&str>
The name of the Global datastore
sourcepub fn apply_immediately(&self) -> bool
pub fn apply_immediately(&self) -> 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) -> Option<&str>
pub fn cache_node_type(&self) -> Option<&str>
A valid cache node type that you want to scale this Global datastore to.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The upgraded version of the cache engine to be run on the clusters in the Global datastore.
sourcepub fn cache_parameter_group_name(&self) -> Option<&str>
pub fn cache_parameter_group_name(&self) -> Option<&str>
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) -> Option<&str>
pub fn global_replication_group_description(&self) -> Option<&str>
A description of the Global datastore
sourcepub fn automatic_failover_enabled(&self) -> Option<bool>
pub fn 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
sourceimpl Clone for ModifyGlobalReplicationGroupInput
impl Clone for ModifyGlobalReplicationGroupInput
sourcefn clone(&self) -> ModifyGlobalReplicationGroupInput
fn clone(&self) -> ModifyGlobalReplicationGroupInput
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
sourceimpl PartialEq<ModifyGlobalReplicationGroupInput> for ModifyGlobalReplicationGroupInput
impl PartialEq<ModifyGlobalReplicationGroupInput> for ModifyGlobalReplicationGroupInput
sourcefn eq(&self, other: &ModifyGlobalReplicationGroupInput) -> bool
fn eq(&self, other: &ModifyGlobalReplicationGroupInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyGlobalReplicationGroupInput) -> bool
fn ne(&self, other: &ModifyGlobalReplicationGroupInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyGlobalReplicationGroupInput
Auto Trait Implementations
impl RefUnwindSafe for ModifyGlobalReplicationGroupInput
impl Send for ModifyGlobalReplicationGroupInput
impl Sync for ModifyGlobalReplicationGroupInput
impl Unpin for ModifyGlobalReplicationGroupInput
impl UnwindSafe for ModifyGlobalReplicationGroupInput
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