Struct aws_sdk_ec2::types::builders::ReservedInstancesIdBuilder
source · #[non_exhaustive]pub struct ReservedInstancesIdBuilder { /* private fields */ }
Expand description
A builder for ReservedInstancesId
.
Implementations§
source§impl ReservedInstancesIdBuilder
impl ReservedInstancesIdBuilder
sourcepub fn reserved_instances_id(self, input: impl Into<String>) -> Self
pub fn reserved_instances_id(self, input: impl Into<String>) -> Self
The ID of the Reserved Instance.
sourcepub fn set_reserved_instances_id(self, input: Option<String>) -> Self
pub fn set_reserved_instances_id(self, input: Option<String>) -> Self
The ID of the Reserved Instance.
sourcepub fn get_reserved_instances_id(&self) -> &Option<String>
pub fn get_reserved_instances_id(&self) -> &Option<String>
The ID of the Reserved Instance.
sourcepub fn build(self) -> ReservedInstancesId
pub fn build(self) -> ReservedInstancesId
Consumes the builder and constructs a ReservedInstancesId
.
Trait Implementations§
source§impl Clone for ReservedInstancesIdBuilder
impl Clone for ReservedInstancesIdBuilder
source§fn clone(&self) -> ReservedInstancesIdBuilder
fn clone(&self) -> ReservedInstancesIdBuilder
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 ReservedInstancesIdBuilder
impl Debug for ReservedInstancesIdBuilder
source§impl Default for ReservedInstancesIdBuilder
impl Default for ReservedInstancesIdBuilder
source§fn default() -> ReservedInstancesIdBuilder
fn default() -> ReservedInstancesIdBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ReservedInstancesIdBuilder> for ReservedInstancesIdBuilder
impl PartialEq<ReservedInstancesIdBuilder> for ReservedInstancesIdBuilder
source§fn eq(&self, other: &ReservedInstancesIdBuilder) -> bool
fn eq(&self, other: &ReservedInstancesIdBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReservedInstancesIdBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReservedInstancesIdBuilder
impl Send for ReservedInstancesIdBuilder
impl Sync for ReservedInstancesIdBuilder
impl Unpin for ReservedInstancesIdBuilder
impl UnwindSafe for ReservedInstancesIdBuilder
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