Struct aws_sdk_ec2::operation::cancel_spot_instance_requests::builders::CancelSpotInstanceRequestsOutputBuilder
source · #[non_exhaustive]pub struct CancelSpotInstanceRequestsOutputBuilder { /* private fields */ }Expand description
A builder for CancelSpotInstanceRequestsOutput.
Implementations§
source§impl CancelSpotInstanceRequestsOutputBuilder
impl CancelSpotInstanceRequestsOutputBuilder
sourcepub fn cancelled_spot_instance_requests(
self,
input: CancelledSpotInstanceRequest,
) -> Self
pub fn cancelled_spot_instance_requests( self, input: CancelledSpotInstanceRequest, ) -> Self
Appends an item to cancelled_spot_instance_requests.
To override the contents of this collection use set_cancelled_spot_instance_requests.
The Spot Instance requests.
sourcepub fn set_cancelled_spot_instance_requests(
self,
input: Option<Vec<CancelledSpotInstanceRequest>>,
) -> Self
pub fn set_cancelled_spot_instance_requests( self, input: Option<Vec<CancelledSpotInstanceRequest>>, ) -> Self
The Spot Instance requests.
sourcepub fn get_cancelled_spot_instance_requests(
&self,
) -> &Option<Vec<CancelledSpotInstanceRequest>>
pub fn get_cancelled_spot_instance_requests( &self, ) -> &Option<Vec<CancelledSpotInstanceRequest>>
The Spot Instance requests.
sourcepub fn build(self) -> CancelSpotInstanceRequestsOutput
pub fn build(self) -> CancelSpotInstanceRequestsOutput
Consumes the builder and constructs a CancelSpotInstanceRequestsOutput.
Trait Implementations§
source§impl Clone for CancelSpotInstanceRequestsOutputBuilder
impl Clone for CancelSpotInstanceRequestsOutputBuilder
source§fn clone(&self) -> CancelSpotInstanceRequestsOutputBuilder
fn clone(&self) -> CancelSpotInstanceRequestsOutputBuilder
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 CancelSpotInstanceRequestsOutputBuilder
impl Default for CancelSpotInstanceRequestsOutputBuilder
source§fn default() -> CancelSpotInstanceRequestsOutputBuilder
fn default() -> CancelSpotInstanceRequestsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CancelSpotInstanceRequestsOutputBuilder
impl PartialEq for CancelSpotInstanceRequestsOutputBuilder
source§fn eq(&self, other: &CancelSpotInstanceRequestsOutputBuilder) -> bool
fn eq(&self, other: &CancelSpotInstanceRequestsOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CancelSpotInstanceRequestsOutputBuilder
Auto Trait Implementations§
impl Freeze for CancelSpotInstanceRequestsOutputBuilder
impl RefUnwindSafe for CancelSpotInstanceRequestsOutputBuilder
impl Send for CancelSpotInstanceRequestsOutputBuilder
impl Sync for CancelSpotInstanceRequestsOutputBuilder
impl Unpin for CancelSpotInstanceRequestsOutputBuilder
impl UnwindSafe for CancelSpotInstanceRequestsOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.