Struct aws_sdk_gamelift::model::FleetCapacity
source · [−]#[non_exhaustive]pub struct FleetCapacity {
pub fleet_id: Option<String>,
pub fleet_arn: Option<String>,
pub instance_type: Option<Ec2InstanceType>,
pub instance_counts: Option<Ec2InstanceCounts>,
pub location: Option<String>,
}
Expand description
Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.
Related actions
DescribeFleetCapacity | DescribeFleetLocationCapacity | UpdateFleetCapacity
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.fleet_id: Option<String>
A unique identifier for the fleet associated with the location.
fleet_arn: Option<String>
The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
instance_type: Option<Ec2InstanceType>
The Amazon EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.
instance_counts: Option<Ec2InstanceCounts>
The current instance count and capacity settings for the fleet location.
location: Option<String>
The fleet location for the instance count information, expressed as an Amazon Web Services Region code, such as us-west-2
.
Implementations
sourceimpl FleetCapacity
impl FleetCapacity
sourcepub fn fleet_id(&self) -> Option<&str>
pub fn fleet_id(&self) -> Option<&str>
A unique identifier for the fleet associated with the location.
sourcepub fn fleet_arn(&self) -> Option<&str>
pub fn fleet_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is assigned to a GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn instance_type(&self) -> Option<&Ec2InstanceType>
pub fn instance_type(&self) -> Option<&Ec2InstanceType>
The Amazon EC2 instance type that is used for all instances in a fleet. The instance type determines the computing resources in use, including CPU, memory, storage, and networking capacity. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.
sourcepub fn instance_counts(&self) -> Option<&Ec2InstanceCounts>
pub fn instance_counts(&self) -> Option<&Ec2InstanceCounts>
The current instance count and capacity settings for the fleet location.
sourceimpl FleetCapacity
impl FleetCapacity
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FleetCapacity
Trait Implementations
sourceimpl Clone for FleetCapacity
impl Clone for FleetCapacity
sourcefn clone(&self) -> FleetCapacity
fn clone(&self) -> FleetCapacity
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 FleetCapacity
impl Debug for FleetCapacity
sourceimpl PartialEq<FleetCapacity> for FleetCapacity
impl PartialEq<FleetCapacity> for FleetCapacity
sourcefn eq(&self, other: &FleetCapacity) -> bool
fn eq(&self, other: &FleetCapacity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FleetCapacity) -> bool
fn ne(&self, other: &FleetCapacity) -> bool
This method tests for !=
.
impl StructuralPartialEq for FleetCapacity
Auto Trait Implementations
impl RefUnwindSafe for FleetCapacity
impl Send for FleetCapacity
impl Sync for FleetCapacity
impl Unpin for FleetCapacity
impl UnwindSafe for FleetCapacity
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