Struct aws_sdk_ec2::model::SpotFleetRequestConfig
source · [−]#[non_exhaustive]pub struct SpotFleetRequestConfig {
pub activity_status: Option<ActivityStatus>,
pub create_time: Option<DateTime>,
pub spot_fleet_request_config: Option<SpotFleetRequestConfigData>,
pub spot_fleet_request_id: Option<String>,
pub spot_fleet_request_state: Option<BatchState>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a Spot Fleet request.
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.activity_status: Option<ActivityStatus>
The progress of the Spot Fleet request. If there is an error, the status is error
. After all requests are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is pending_termination
while Spot Instances are terminating.
create_time: Option<DateTime>
The creation date and time of the request.
spot_fleet_request_config: Option<SpotFleetRequestConfigData>
The configuration of the Spot Fleet request.
spot_fleet_request_id: Option<String>
The ID of the Spot Fleet request.
spot_fleet_request_state: Option<BatchState>
The state of the Spot Fleet request.
The tags for a Spot Fleet resource.
Implementations
sourceimpl SpotFleetRequestConfig
impl SpotFleetRequestConfig
sourcepub fn activity_status(&self) -> Option<&ActivityStatus>
pub fn activity_status(&self) -> Option<&ActivityStatus>
The progress of the Spot Fleet request. If there is an error, the status is error
. After all requests are placed, the status is pending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled
. If the size of the fleet is decreased, the status is pending_termination
while Spot Instances are terminating.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The creation date and time of the request.
sourcepub fn spot_fleet_request_config(&self) -> Option<&SpotFleetRequestConfigData>
pub fn spot_fleet_request_config(&self) -> Option<&SpotFleetRequestConfigData>
The configuration of the Spot Fleet request.
sourcepub fn spot_fleet_request_id(&self) -> Option<&str>
pub fn spot_fleet_request_id(&self) -> Option<&str>
The ID of the Spot Fleet request.
sourcepub fn spot_fleet_request_state(&self) -> Option<&BatchState>
pub fn spot_fleet_request_state(&self) -> Option<&BatchState>
The state of the Spot Fleet request.
The tags for a Spot Fleet resource.
sourceimpl SpotFleetRequestConfig
impl SpotFleetRequestConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SpotFleetRequestConfig
.
Trait Implementations
sourceimpl Clone for SpotFleetRequestConfig
impl Clone for SpotFleetRequestConfig
sourcefn clone(&self) -> SpotFleetRequestConfig
fn clone(&self) -> SpotFleetRequestConfig
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 SpotFleetRequestConfig
impl Debug for SpotFleetRequestConfig
sourceimpl PartialEq<SpotFleetRequestConfig> for SpotFleetRequestConfig
impl PartialEq<SpotFleetRequestConfig> for SpotFleetRequestConfig
sourcefn eq(&self, other: &SpotFleetRequestConfig) -> bool
fn eq(&self, other: &SpotFleetRequestConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SpotFleetRequestConfig) -> bool
fn ne(&self, other: &SpotFleetRequestConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for SpotFleetRequestConfig
Auto Trait Implementations
impl RefUnwindSafe for SpotFleetRequestConfig
impl Send for SpotFleetRequestConfig
impl Sync for SpotFleetRequestConfig
impl Unpin for SpotFleetRequestConfig
impl UnwindSafe for SpotFleetRequestConfig
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