#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for CreateCapacityReservationFleetOutput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn capacity_reservation_fleet_id(self, input: impl Into<String>) -> Self
pub fn capacity_reservation_fleet_id(self, input: impl Into<String>) -> Self
The ID of the Capacity Reservation Fleet.
sourcepub fn set_capacity_reservation_fleet_id(self, input: Option<String>) -> Self
pub fn set_capacity_reservation_fleet_id(self, input: Option<String>) -> Self
The ID of the Capacity Reservation Fleet.
sourcepub fn state(self, input: CapacityReservationFleetState) -> Self
pub fn state(self, input: CapacityReservationFleetState) -> Self
The status of the Capacity Reservation Fleet.
sourcepub fn set_state(self, input: Option<CapacityReservationFleetState>) -> Self
pub fn set_state(self, input: Option<CapacityReservationFleetState>) -> Self
The status of the Capacity Reservation Fleet.
sourcepub fn total_target_capacity(self, input: i32) -> Self
pub fn total_target_capacity(self, input: i32) -> Self
The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.
sourcepub fn set_total_target_capacity(self, input: Option<i32>) -> Self
pub fn set_total_target_capacity(self, input: Option<i32>) -> Self
The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.
sourcepub fn total_fulfilled_capacity(self, input: f64) -> Self
pub fn total_fulfilled_capacity(self, input: f64) -> Self
The requested capacity units that have been successfully reserved.
sourcepub fn set_total_fulfilled_capacity(self, input: Option<f64>) -> Self
pub fn set_total_fulfilled_capacity(self, input: Option<f64>) -> Self
The requested capacity units that have been successfully reserved.
sourcepub fn instance_match_criteria(self, input: FleetInstanceMatchCriteria) -> Self
pub fn instance_match_criteria(self, input: FleetInstanceMatchCriteria) -> Self
The instance matching criteria for the Capacity Reservation Fleet.
sourcepub fn set_instance_match_criteria(
self,
input: Option<FleetInstanceMatchCriteria>
) -> Self
pub fn set_instance_match_criteria(
self,
input: Option<FleetInstanceMatchCriteria>
) -> Self
The instance matching criteria for the Capacity Reservation Fleet.
sourcepub fn allocation_strategy(self, input: impl Into<String>) -> Self
pub fn allocation_strategy(self, input: impl Into<String>) -> Self
The allocation strategy used by the Capacity Reservation Fleet.
sourcepub fn set_allocation_strategy(self, input: Option<String>) -> Self
pub fn set_allocation_strategy(self, input: Option<String>) -> Self
The allocation strategy used by the Capacity Reservation Fleet.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The date and time at which the Capacity Reservation Fleet was created.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The date and time at which the Capacity Reservation Fleet was created.
sourcepub fn end_date(self, input: DateTime) -> Self
pub fn end_date(self, input: DateTime) -> Self
The date and time at which the Capacity Reservation Fleet expires.
sourcepub fn set_end_date(self, input: Option<DateTime>) -> Self
pub fn set_end_date(self, input: Option<DateTime>) -> Self
The date and time at which the Capacity Reservation Fleet expires.
sourcepub fn tenancy(self, input: FleetCapacityReservationTenancy) -> Self
pub fn tenancy(self, input: FleetCapacityReservationTenancy) -> Self
Indicates the tenancy of Capacity Reservation Fleet.
sourcepub fn set_tenancy(self, input: Option<FleetCapacityReservationTenancy>) -> Self
pub fn set_tenancy(self, input: Option<FleetCapacityReservationTenancy>) -> Self
Indicates the tenancy of Capacity Reservation Fleet.
sourcepub fn fleet_capacity_reservations(
self,
input: FleetCapacityReservation
) -> Self
pub fn fleet_capacity_reservations(
self,
input: FleetCapacityReservation
) -> Self
Appends an item to fleet_capacity_reservations.
To override the contents of this collection use set_fleet_capacity_reservations.
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
sourcepub fn set_fleet_capacity_reservations(
self,
input: Option<Vec<FleetCapacityReservation>>
) -> Self
pub fn set_fleet_capacity_reservations(
self,
input: Option<Vec<FleetCapacityReservation>>
) -> Self
Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags assigned to the Capacity Reservation Fleet.
The tags assigned to the Capacity Reservation Fleet.
sourcepub fn build(self) -> CreateCapacityReservationFleetOutput
pub fn build(self) -> CreateCapacityReservationFleetOutput
Consumes the builder and constructs a CreateCapacityReservationFleetOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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