#[non_exhaustive]pub struct CapacityReservationGroupBuilder { /* private fields */ }
Expand description
A builder for CapacityReservationGroup
.
Implementations§
source§impl CapacityReservationGroupBuilder
impl CapacityReservationGroupBuilder
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 get_group_arn(&self) -> &Option<String>
pub fn get_group_arn(&self) -> &Option<String>
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 get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for CapacityReservationGroupBuilder
impl Clone for CapacityReservationGroupBuilder
source§fn clone(&self) -> CapacityReservationGroupBuilder
fn clone(&self) -> CapacityReservationGroupBuilder
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 Default for CapacityReservationGroupBuilder
impl Default for CapacityReservationGroupBuilder
source§fn default() -> CapacityReservationGroupBuilder
fn default() -> CapacityReservationGroupBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CapacityReservationGroupBuilder> for CapacityReservationGroupBuilder
impl PartialEq<CapacityReservationGroupBuilder> for CapacityReservationGroupBuilder
source§fn eq(&self, other: &CapacityReservationGroupBuilder) -> bool
fn eq(&self, other: &CapacityReservationGroupBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CapacityReservationGroupBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CapacityReservationGroupBuilder
impl Send for CapacityReservationGroupBuilder
impl Sync for CapacityReservationGroupBuilder
impl Unpin for CapacityReservationGroupBuilder
impl UnwindSafe for CapacityReservationGroupBuilder
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