Struct aws_sdk_ec2::model::SpotPlacementScore
source · #[non_exhaustive]pub struct SpotPlacementScore { /* private fields */ }
Expand description
The Spot placement score for this Region or Availability Zone. The score is calculated based on the assumption that the capacity-optimized
allocation strategy is used and that all of the Availability Zones in the Region can be used.
Implementations§
source§impl SpotPlacementScore
impl SpotPlacementScore
sourcepub fn availability_zone_id(&self) -> Option<&str>
pub fn availability_zone_id(&self) -> Option<&str>
The Availability Zone.
source§impl SpotPlacementScore
impl SpotPlacementScore
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SpotPlacementScore
.
Trait Implementations§
source§impl Clone for SpotPlacementScore
impl Clone for SpotPlacementScore
source§fn clone(&self) -> SpotPlacementScore
fn clone(&self) -> SpotPlacementScore
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 SpotPlacementScore
impl Debug for SpotPlacementScore
source§impl PartialEq<SpotPlacementScore> for SpotPlacementScore
impl PartialEq<SpotPlacementScore> for SpotPlacementScore
source§fn eq(&self, other: &SpotPlacementScore) -> bool
fn eq(&self, other: &SpotPlacementScore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.