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 ==
.