#[non_exhaustive]pub struct ReplicaContainerGroupCounts {
pub pending: Option<i32>,
pub active: Option<i32>,
pub idle: Option<i32>,
pub terminating: Option<i32>,
}
Expand description
This data type is used with the Amazon GameLift containers feature, which is currently in public preview.
The number and status of replica container groups that are deployed across a fleet with compute type CONTAINER
. This information, combined with the number of server processes being hosted per container group (see RuntimeConfiguration
), tells you how many game sessions the fleet is currently capable of hosting concurrently.
Returned by: DescribeFleetCapacity
, DescribeFleetLocationCapacity
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.pending: Option<i32>
The number of container groups that are starting up but have not yet registered.
active: Option<i32>
The number of container groups that have active game sessions.
idle: Option<i32>
The number of container groups that have no active game sessions.
terminating: Option<i32>
The number of container groups that are in the process of shutting down.
Implementations§
source§impl ReplicaContainerGroupCounts
impl ReplicaContainerGroupCounts
sourcepub fn pending(&self) -> Option<i32>
pub fn pending(&self) -> Option<i32>
The number of container groups that are starting up but have not yet registered.
sourcepub fn active(&self) -> Option<i32>
pub fn active(&self) -> Option<i32>
The number of container groups that have active game sessions.
sourcepub fn idle(&self) -> Option<i32>
pub fn idle(&self) -> Option<i32>
The number of container groups that have no active game sessions.
sourcepub fn terminating(&self) -> Option<i32>
pub fn terminating(&self) -> Option<i32>
The number of container groups that are in the process of shutting down.
source§impl ReplicaContainerGroupCounts
impl ReplicaContainerGroupCounts
sourcepub fn builder() -> ReplicaContainerGroupCountsBuilder
pub fn builder() -> ReplicaContainerGroupCountsBuilder
Creates a new builder-style object to manufacture ReplicaContainerGroupCounts
.
Trait Implementations§
source§impl Clone for ReplicaContainerGroupCounts
impl Clone for ReplicaContainerGroupCounts
source§fn clone(&self) -> ReplicaContainerGroupCounts
fn clone(&self) -> ReplicaContainerGroupCounts
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicaContainerGroupCounts
impl Debug for ReplicaContainerGroupCounts
source§impl PartialEq for ReplicaContainerGroupCounts
impl PartialEq for ReplicaContainerGroupCounts
source§fn eq(&self, other: &ReplicaContainerGroupCounts) -> bool
fn eq(&self, other: &ReplicaContainerGroupCounts) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicaContainerGroupCounts
Auto Trait Implementations§
impl Freeze for ReplicaContainerGroupCounts
impl RefUnwindSafe for ReplicaContainerGroupCounts
impl Send for ReplicaContainerGroupCounts
impl Sync for ReplicaContainerGroupCounts
impl Unpin for ReplicaContainerGroupCounts
impl UnwindSafe for ReplicaContainerGroupCounts
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more