Struct aws_sdk_ec2::types::builders::SubnetCidrReservationBuilder
source · #[non_exhaustive]pub struct SubnetCidrReservationBuilder { /* private fields */ }
Expand description
A builder for SubnetCidrReservation
.
Implementations§
source§impl SubnetCidrReservationBuilder
impl SubnetCidrReservationBuilder
sourcepub fn subnet_cidr_reservation_id(self, input: impl Into<String>) -> Self
pub fn subnet_cidr_reservation_id(self, input: impl Into<String>) -> Self
The ID of the subnet CIDR reservation.
sourcepub fn set_subnet_cidr_reservation_id(self, input: Option<String>) -> Self
pub fn set_subnet_cidr_reservation_id(self, input: Option<String>) -> Self
The ID of the subnet CIDR reservation.
sourcepub fn get_subnet_cidr_reservation_id(&self) -> &Option<String>
pub fn get_subnet_cidr_reservation_id(&self) -> &Option<String>
The ID of the subnet CIDR reservation.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The ID of the subnet.
sourcepub fn reservation_type(self, input: SubnetCidrReservationType) -> Self
pub fn reservation_type(self, input: SubnetCidrReservationType) -> Self
The type of reservation.
sourcepub fn set_reservation_type(
self,
input: Option<SubnetCidrReservationType>,
) -> Self
pub fn set_reservation_type( self, input: Option<SubnetCidrReservationType>, ) -> Self
The type of reservation.
sourcepub fn get_reservation_type(&self) -> &Option<SubnetCidrReservationType>
pub fn get_reservation_type(&self) -> &Option<SubnetCidrReservationType>
The type of reservation.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the account that owns the subnet CIDR reservation.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the account that owns the subnet CIDR reservation.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The ID of the account that owns the subnet CIDR reservation.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description assigned to the subnet CIDR reservation.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description assigned to the subnet CIDR reservation.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description assigned to the subnet CIDR reservation.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the subnet CIDR reservation.
The tags assigned to the subnet CIDR reservation.
The tags assigned to the subnet CIDR reservation.
sourcepub fn build(self) -> SubnetCidrReservation
pub fn build(self) -> SubnetCidrReservation
Consumes the builder and constructs a SubnetCidrReservation
.
Trait Implementations§
source§impl Clone for SubnetCidrReservationBuilder
impl Clone for SubnetCidrReservationBuilder
source§fn clone(&self) -> SubnetCidrReservationBuilder
fn clone(&self) -> SubnetCidrReservationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubnetCidrReservationBuilder
impl Debug for SubnetCidrReservationBuilder
source§impl Default for SubnetCidrReservationBuilder
impl Default for SubnetCidrReservationBuilder
source§fn default() -> SubnetCidrReservationBuilder
fn default() -> SubnetCidrReservationBuilder
source§impl PartialEq for SubnetCidrReservationBuilder
impl PartialEq for SubnetCidrReservationBuilder
source§fn eq(&self, other: &SubnetCidrReservationBuilder) -> bool
fn eq(&self, other: &SubnetCidrReservationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SubnetCidrReservationBuilder
Auto Trait Implementations§
impl Freeze for SubnetCidrReservationBuilder
impl RefUnwindSafe for SubnetCidrReservationBuilder
impl Send for SubnetCidrReservationBuilder
impl Sync for SubnetCidrReservationBuilder
impl Unpin for SubnetCidrReservationBuilder
impl UnwindSafe for SubnetCidrReservationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more