Struct aws_sdk_memorydb::model::ClusterConfiguration
source · [−]#[non_exhaustive]pub struct ClusterConfiguration {Show 14 fields
pub name: Option<String>,
pub description: Option<String>,
pub node_type: Option<String>,
pub engine_version: Option<String>,
pub maintenance_window: Option<String>,
pub topic_arn: Option<String>,
pub port: Option<i32>,
pub parameter_group_name: Option<String>,
pub subnet_group_name: Option<String>,
pub vpc_id: Option<String>,
pub snapshot_retention_limit: Option<i32>,
pub snapshot_window: Option<String>,
pub num_shards: Option<i32>,
pub shards: Option<Vec<ShardDetail>>,
}
Expand description
A list of cluster configuration options.
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.name: Option<String>
The name of the cluster
description: Option<String>
The description of the cluster configuration
node_type: Option<String>
The node type used for the cluster
engine_version: Option<String>
The Redis engine version used by the cluster
maintenance_window: Option<String>
The specified maintenance window for the cluster
topic_arn: Option<String>
The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
port: Option<i32>
The port used by the cluster
parameter_group_name: Option<String>
The name of parameter group used by the cluster
subnet_group_name: Option<String>
The name of the subnet group used by the cluster
vpc_id: Option<String>
The ID of the VPC the cluster belongs to
snapshot_retention_limit: Option<i32>
The snapshot retention limit set by the cluster
snapshot_window: Option<String>
The snapshot window set by the cluster
num_shards: Option<i32>
The number of shards in the cluster
shards: Option<Vec<ShardDetail>>
The list of shards in the cluster
Implementations
sourceimpl ClusterConfiguration
impl ClusterConfiguration
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the cluster configuration
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The Redis engine version used by the cluster
sourcepub fn maintenance_window(&self) -> Option<&str>
pub fn maintenance_window(&self) -> Option<&str>
The specified maintenance window for the cluster
sourcepub fn topic_arn(&self) -> Option<&str>
pub fn topic_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
sourcepub fn parameter_group_name(&self) -> Option<&str>
pub fn parameter_group_name(&self) -> Option<&str>
The name of parameter group used by the cluster
sourcepub fn subnet_group_name(&self) -> Option<&str>
pub fn subnet_group_name(&self) -> Option<&str>
The name of the subnet group used by the cluster
sourcepub fn snapshot_retention_limit(&self) -> Option<i32>
pub fn snapshot_retention_limit(&self) -> Option<i32>
The snapshot retention limit set by the cluster
sourcepub fn snapshot_window(&self) -> Option<&str>
pub fn snapshot_window(&self) -> Option<&str>
The snapshot window set by the cluster
sourcepub fn num_shards(&self) -> Option<i32>
pub fn num_shards(&self) -> Option<i32>
The number of shards in the cluster
sourceimpl ClusterConfiguration
impl ClusterConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClusterConfiguration
Trait Implementations
sourceimpl Clone for ClusterConfiguration
impl Clone for ClusterConfiguration
sourcefn clone(&self) -> ClusterConfiguration
fn clone(&self) -> ClusterConfiguration
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 Debug for ClusterConfiguration
impl Debug for ClusterConfiguration
sourceimpl PartialEq<ClusterConfiguration> for ClusterConfiguration
impl PartialEq<ClusterConfiguration> for ClusterConfiguration
sourcefn eq(&self, other: &ClusterConfiguration) -> bool
fn eq(&self, other: &ClusterConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClusterConfiguration) -> bool
fn ne(&self, other: &ClusterConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for ClusterConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ClusterConfiguration
impl Send for ClusterConfiguration
impl Sync for ClusterConfiguration
impl Unpin for ClusterConfiguration
impl UnwindSafe for ClusterConfiguration
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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