Struct aws_sdk_ec2::types::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§
source§impl 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl SpotFleetRequestConfig
impl SpotFleetRequestConfig
sourcepub fn builder() -> SpotFleetRequestConfigBuilder
pub fn builder() -> SpotFleetRequestConfigBuilder
Creates a new builder-style object to manufacture SpotFleetRequestConfig
.
Trait Implementations§
source§impl Clone for SpotFleetRequestConfig
impl Clone for SpotFleetRequestConfig
source§fn clone(&self) -> SpotFleetRequestConfig
fn clone(&self) -> SpotFleetRequestConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpotFleetRequestConfig
impl Debug for SpotFleetRequestConfig
source§impl PartialEq for SpotFleetRequestConfig
impl PartialEq for SpotFleetRequestConfig
source§fn eq(&self, other: &SpotFleetRequestConfig) -> bool
fn eq(&self, other: &SpotFleetRequestConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SpotFleetRequestConfig
Auto Trait Implementations§
impl Freeze for SpotFleetRequestConfig
impl RefUnwindSafe for SpotFleetRequestConfig
impl Send for SpotFleetRequestConfig
impl Sync for SpotFleetRequestConfig
impl Unpin for SpotFleetRequestConfig
impl UnwindSafe for SpotFleetRequestConfig
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