pub struct CapacityReservationGroupArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> CapacityReservationGroupArgsBuilder<S>
impl<S: State> CapacityReservationGroupArgsBuilder<S>
sourcepub fn build_struct(self) -> CapacityReservationGroupArgswhere
S: IsComplete,
pub fn build_struct(self) -> CapacityReservationGroupArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> CapacityReservationGroupArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<Option<String>>>,
) -> CapacityReservationGroupArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> CapacityReservationGroupArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn maybe_location(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> CapacityReservationGroupArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> CapacityReservationGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> CapacityReservationGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> CapacityReservationGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> CapacityReservationGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> CapacityReservationGroupArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> CapacityReservationGroupArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
Specifies the name of the resource group the Capacity Reservation Group is located in. Changing this forces a new resource to be created.
sourcepub fn zones(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> CapacityReservationGroupArgsBuilder<SetZones<S>>where
S::Zones: IsUnset,
pub fn zones(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> CapacityReservationGroupArgsBuilder<SetZones<S>>where
S::Zones: IsUnset,
sourcepub fn maybe_zones(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> CapacityReservationGroupArgsBuilder<SetZones<S>>where
S::Zones: IsUnset,
pub fn maybe_zones(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> CapacityReservationGroupArgsBuilder<SetZones<S>>where
S::Zones: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for CapacityReservationGroupArgsBuilder<S>
impl<S> RefUnwindSafe for CapacityReservationGroupArgsBuilder<S>
impl<S> Send for CapacityReservationGroupArgsBuilder<S>
impl<S> Sync for CapacityReservationGroupArgsBuilder<S>
impl<S> Unpin for CapacityReservationGroupArgsBuilder<S>
impl<S> UnwindSafe for CapacityReservationGroupArgsBuilder<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