pub struct SubnetCidrReservationArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> SubnetCidrReservationArgsBuilder<S>
impl<S: State> SubnetCidrReservationArgsBuilder<S>
sourcepub fn build_struct(self) -> SubnetCidrReservationArgswhere
S: IsComplete,
pub fn build_struct(self) -> SubnetCidrReservationArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn cidr_block(
self,
value: impl Into<Output<String>>,
) -> SubnetCidrReservationArgsBuilder<SetCidrBlock<S>>where
S::CidrBlock: IsUnset,
pub fn cidr_block(
self,
value: impl Into<Output<String>>,
) -> SubnetCidrReservationArgsBuilder<SetCidrBlock<S>>where
S::CidrBlock: IsUnset,
Required.
The CIDR block for the reservation.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> SubnetCidrReservationArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> SubnetCidrReservationArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SubnetCidrReservationArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> SubnetCidrReservationArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn reservation_type(
self,
value: impl Into<Output<String>>,
) -> SubnetCidrReservationArgsBuilder<SetReservationType<S>>where
S::ReservationType: IsUnset,
pub fn reservation_type(
self,
value: impl Into<Output<String>>,
) -> SubnetCidrReservationArgsBuilder<SetReservationType<S>>where
S::ReservationType: IsUnset,
Required.
The type of reservation to create. Valid values: explicit
, prefix
Auto Trait Implementations§
impl<S> Freeze for SubnetCidrReservationArgsBuilder<S>
impl<S> RefUnwindSafe for SubnetCidrReservationArgsBuilder<S>
impl<S> Send for SubnetCidrReservationArgsBuilder<S>
impl<S> Sync for SubnetCidrReservationArgsBuilder<S>
impl<S> Unpin for SubnetCidrReservationArgsBuilder<S>
impl<S> UnwindSafe for SubnetCidrReservationArgsBuilder<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