Struct aws_sdk_ec2::model::subnet_cidr_reservation::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SubnetCidrReservation
.
Implementations§
source§impl Builder
impl Builder
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
.