Struct aws_sdk_ec2::model::SpotPlacement
source · [−]#[non_exhaustive]pub struct SpotPlacement { /* private fields */ }
Expand description
Describes Spot Instance placement.
Implementations
sourceimpl SpotPlacement
impl SpotPlacement
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone.
[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the placement group.
sourceimpl SpotPlacement
impl SpotPlacement
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SpotPlacement
.
Trait Implementations
sourceimpl Clone for SpotPlacement
impl Clone for SpotPlacement
sourcefn clone(&self) -> SpotPlacement
fn clone(&self) -> SpotPlacement
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 moresourceimpl Debug for SpotPlacement
impl Debug for SpotPlacement
sourceimpl PartialEq<SpotPlacement> for SpotPlacement
impl PartialEq<SpotPlacement> for SpotPlacement
sourcefn eq(&self, other: &SpotPlacement) -> bool
fn eq(&self, other: &SpotPlacement) -> bool
impl StructuralPartialEq for SpotPlacement
Auto Trait Implementations
impl RefUnwindSafe for SpotPlacement
impl Send for SpotPlacement
impl Sync for SpotPlacement
impl Unpin for SpotPlacement
impl UnwindSafe for SpotPlacement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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