#[non_exhaustive]pub struct CreateCapacityReservationFleetOutput {
pub capacity_reservation_fleet_id: Option<String>,
pub state: Option<CapacityReservationFleetState>,
pub total_target_capacity: Option<i32>,
pub total_fulfilled_capacity: Option<f64>,
pub instance_match_criteria: Option<FleetInstanceMatchCriteria>,
pub allocation_strategy: Option<String>,
pub create_time: Option<DateTime>,
pub end_date: Option<DateTime>,
pub tenancy: Option<FleetCapacityReservationTenancy>,
pub fleet_capacity_reservations: Option<Vec<FleetCapacityReservation>>,
pub tags: Option<Vec<Tag>>,
}
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.capacity_reservation_fleet_id: Option<String>
The ID of the Capacity Reservation Fleet.
state: Option<CapacityReservationFleetState>
The status of the Capacity Reservation Fleet.
total_target_capacity: Option<i32>
The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.
total_fulfilled_capacity: Option<f64>
The requested capacity units that have been successfully reserved.
instance_match_criteria: Option<FleetInstanceMatchCriteria>
The instance matching criteria for the Capacity Reservation Fleet.
allocation_strategy: Option<String>
The allocation strategy used by the Capacity Reservation Fleet.
create_time: Option<DateTime>
The date and time at which the Capacity Reservation Fleet was created.
end_date: Option<DateTime>
The date and time at which the Capacity Reservation Fleet expires.
tenancy: Option<FleetCapacityReservationTenancy>
Indicates the tenancy of Capacity Reservation Fleet.
fleet_capacity_reservations: Option<Vec<FleetCapacityReservation>>
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
The tags assigned to the Capacity Reservation Fleet.
Implementations
sourceimpl CreateCapacityReservationFleetOutput
impl CreateCapacityReservationFleetOutput
sourcepub fn capacity_reservation_fleet_id(&self) -> Option<&str>
pub fn capacity_reservation_fleet_id(&self) -> Option<&str>
The ID of the Capacity Reservation Fleet.
sourcepub fn state(&self) -> Option<&CapacityReservationFleetState>
pub fn state(&self) -> Option<&CapacityReservationFleetState>
The status of the Capacity Reservation Fleet.
sourcepub fn total_target_capacity(&self) -> Option<i32>
pub fn total_target_capacity(&self) -> Option<i32>
The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.
sourcepub fn total_fulfilled_capacity(&self) -> Option<f64>
pub fn total_fulfilled_capacity(&self) -> Option<f64>
The requested capacity units that have been successfully reserved.
sourcepub fn instance_match_criteria(&self) -> Option<&FleetInstanceMatchCriteria>
pub fn instance_match_criteria(&self) -> Option<&FleetInstanceMatchCriteria>
The instance matching criteria for the Capacity Reservation Fleet.
sourcepub fn allocation_strategy(&self) -> Option<&str>
pub fn allocation_strategy(&self) -> Option<&str>
The allocation strategy used by the Capacity Reservation Fleet.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The date and time at which the Capacity Reservation Fleet was created.
sourcepub fn end_date(&self) -> Option<&DateTime>
pub fn end_date(&self) -> Option<&DateTime>
The date and time at which the Capacity Reservation Fleet expires.
sourcepub fn tenancy(&self) -> Option<&FleetCapacityReservationTenancy>
pub fn tenancy(&self) -> Option<&FleetCapacityReservationTenancy>
Indicates the tenancy of Capacity Reservation Fleet.
sourcepub fn fleet_capacity_reservations(&self) -> Option<&[FleetCapacityReservation]>
pub fn fleet_capacity_reservations(&self) -> Option<&[FleetCapacityReservation]>
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
The tags assigned to the Capacity Reservation Fleet.
sourceimpl CreateCapacityReservationFleetOutput
impl CreateCapacityReservationFleetOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateCapacityReservationFleetOutput
.
Trait Implementations
sourceimpl Clone for CreateCapacityReservationFleetOutput
impl Clone for CreateCapacityReservationFleetOutput
sourcefn clone(&self) -> CreateCapacityReservationFleetOutput
fn clone(&self) -> CreateCapacityReservationFleetOutput
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 PartialEq<CreateCapacityReservationFleetOutput> for CreateCapacityReservationFleetOutput
impl PartialEq<CreateCapacityReservationFleetOutput> for CreateCapacityReservationFleetOutput
sourcefn eq(&self, other: &CreateCapacityReservationFleetOutput) -> bool
fn eq(&self, other: &CreateCapacityReservationFleetOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateCapacityReservationFleetOutput) -> bool
fn ne(&self, other: &CreateCapacityReservationFleetOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateCapacityReservationFleetOutput
Auto Trait Implementations
impl RefUnwindSafe for CreateCapacityReservationFleetOutput
impl Send for CreateCapacityReservationFleetOutput
impl Sync for CreateCapacityReservationFleetOutput
impl Unpin for CreateCapacityReservationFleetOutput
impl UnwindSafe for CreateCapacityReservationFleetOutput
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