Struct aws_sdk_ec2::model::capacity_reservation_group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CapacityReservationGroup
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_group_arn(self, input: Option<String>) -> Self
pub fn set_group_arn(self, input: Option<String>) -> Self
The ARN of the resource group.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the resource group.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the resource group.
sourcepub fn build(self) -> CapacityReservationGroup
pub fn build(self) -> CapacityReservationGroup
Consumes the builder and constructs a CapacityReservationGroup
.