Struct aws_sdk_m2::types::HighAvailabilityConfig
source · #[non_exhaustive]pub struct HighAvailabilityConfig {
pub desired_capacity: i32,
}
Expand description
Defines the details of a high availability configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.desired_capacity: i32
The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
Implementations§
source§impl HighAvailabilityConfig
impl HighAvailabilityConfig
sourcepub fn desired_capacity(&self) -> i32
pub fn desired_capacity(&self) -> i32
The number of instances in a high availability configuration. The minimum possible value is 1 and the maximum is 100.
source§impl HighAvailabilityConfig
impl HighAvailabilityConfig
sourcepub fn builder() -> HighAvailabilityConfigBuilder
pub fn builder() -> HighAvailabilityConfigBuilder
Creates a new builder-style object to manufacture HighAvailabilityConfig
.
Trait Implementations§
source§impl Clone for HighAvailabilityConfig
impl Clone for HighAvailabilityConfig
source§fn clone(&self) -> HighAvailabilityConfig
fn clone(&self) -> HighAvailabilityConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HighAvailabilityConfig
impl Debug for HighAvailabilityConfig
source§impl PartialEq for HighAvailabilityConfig
impl PartialEq for HighAvailabilityConfig
source§fn eq(&self, other: &HighAvailabilityConfig) -> bool
fn eq(&self, other: &HighAvailabilityConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HighAvailabilityConfig
Auto Trait Implementations§
impl RefUnwindSafe for HighAvailabilityConfig
impl Send for HighAvailabilityConfig
impl Sync for HighAvailabilityConfig
impl Unpin for HighAvailabilityConfig
impl UnwindSafe for HighAvailabilityConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.