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 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 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 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 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.
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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<SubnetCidrReservationBuilder> for SubnetCidrReservationBuilder
impl PartialEq<SubnetCidrReservationBuilder> for SubnetCidrReservationBuilder
source§fn eq(&self, other: &SubnetCidrReservationBuilder) -> bool
fn eq(&self, other: &SubnetCidrReservationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SubnetCidrReservationBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more