pub struct CapacityReservationArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> CapacityReservationArgsBuilder<S>
impl<S: State> CapacityReservationArgsBuilder<S>
sourcepub fn build_struct(self) -> CapacityReservationArgswhere
S: IsComplete,
pub fn build_struct(self) -> CapacityReservationArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn capacity_reservation_group_id(
self,
value: impl Into<Output<String>>,
) -> CapacityReservationArgsBuilder<SetCapacityReservationGroupId<S>>where
S::CapacityReservationGroupId: IsUnset,
pub fn capacity_reservation_group_id(
self,
value: impl Into<Output<String>>,
) -> CapacityReservationArgsBuilder<SetCapacityReservationGroupId<S>>where
S::CapacityReservationGroupId: IsUnset,
Required.
The ID of the Capacity Reservation Group where the Capacity Reservation exists. Changing this forces a new resource to be created.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> CapacityReservationArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> CapacityReservationArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> CapacityReservationArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> CapacityReservationArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn sku(
self,
value: impl Into<Output<CapacityReservationSku>>,
) -> CapacityReservationArgsBuilder<SetSku<S>>where
S::Sku: IsUnset,
pub fn sku(
self,
value: impl Into<Output<CapacityReservationSku>>,
) -> CapacityReservationArgsBuilder<SetSku<S>>where
S::Sku: IsUnset,
Required.
A sku
block as defined below.
sourcepub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> CapacityReservationArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> CapacityReservationArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
sourcepub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> CapacityReservationArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> CapacityReservationArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for CapacityReservationArgsBuilder<S>
impl<S> RefUnwindSafe for CapacityReservationArgsBuilder<S>
impl<S> Send for CapacityReservationArgsBuilder<S>
impl<S> Sync for CapacityReservationArgsBuilder<S>
impl<S> Unpin for CapacityReservationArgsBuilder<S>
impl<S> UnwindSafe for CapacityReservationArgsBuilder<S>
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
Mutably borrows from an owned value. Read more