Struct aws_sdk_ec2::operation::modify_instance_capacity_reservation_attributes::builders::ModifyInstanceCapacityReservationAttributesOutputBuilder
source · #[non_exhaustive]pub struct ModifyInstanceCapacityReservationAttributesOutputBuilder { /* private fields */ }
Expand description
A builder for ModifyInstanceCapacityReservationAttributesOutput
.
Implementations§
source§impl ModifyInstanceCapacityReservationAttributesOutputBuilder
impl ModifyInstanceCapacityReservationAttributesOutputBuilder
sourcepub fn return(self, input: bool) -> Self
pub fn return(self, input: bool) -> Self
Returns true
if the request succeeds; otherwise, it returns an error.
sourcepub fn set_return(self, input: Option<bool>) -> Self
pub fn set_return(self, input: Option<bool>) -> Self
Returns true
if the request succeeds; otherwise, it returns an error.
sourcepub fn get_return(&self) -> &Option<bool>
pub fn get_return(&self) -> &Option<bool>
Returns true
if the request succeeds; otherwise, it returns an error.
sourcepub fn build(self) -> ModifyInstanceCapacityReservationAttributesOutput
pub fn build(self) -> ModifyInstanceCapacityReservationAttributesOutput
Consumes the builder and constructs a ModifyInstanceCapacityReservationAttributesOutput
.
Trait Implementations§
source§impl Clone for ModifyInstanceCapacityReservationAttributesOutputBuilder
impl Clone for ModifyInstanceCapacityReservationAttributesOutputBuilder
source§fn clone(&self) -> ModifyInstanceCapacityReservationAttributesOutputBuilder
fn clone(&self) -> ModifyInstanceCapacityReservationAttributesOutputBuilder
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 ModifyInstanceCapacityReservationAttributesOutputBuilder
impl Default for ModifyInstanceCapacityReservationAttributesOutputBuilder
source§fn default() -> ModifyInstanceCapacityReservationAttributesOutputBuilder
fn default() -> ModifyInstanceCapacityReservationAttributesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ModifyInstanceCapacityReservationAttributesOutputBuilder> for ModifyInstanceCapacityReservationAttributesOutputBuilder
impl PartialEq<ModifyInstanceCapacityReservationAttributesOutputBuilder> for ModifyInstanceCapacityReservationAttributesOutputBuilder
source§fn eq(
&self,
other: &ModifyInstanceCapacityReservationAttributesOutputBuilder
) -> bool
fn eq( &self, other: &ModifyInstanceCapacityReservationAttributesOutputBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyInstanceCapacityReservationAttributesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ModifyInstanceCapacityReservationAttributesOutputBuilder
impl Send for ModifyInstanceCapacityReservationAttributesOutputBuilder
impl Sync for ModifyInstanceCapacityReservationAttributesOutputBuilder
impl Unpin for ModifyInstanceCapacityReservationAttributesOutputBuilder
impl UnwindSafe for ModifyInstanceCapacityReservationAttributesOutputBuilder
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