Struct aws_sdk_ec2::operation::request_spot_instances::builders::RequestSpotInstancesOutputBuilder
source · #[non_exhaustive]pub struct RequestSpotInstancesOutputBuilder { /* private fields */ }
Expand description
A builder for RequestSpotInstancesOutput
.
Implementations§
source§impl RequestSpotInstancesOutputBuilder
impl RequestSpotInstancesOutputBuilder
sourcepub fn spot_instance_requests(self, input: SpotInstanceRequest) -> Self
pub fn spot_instance_requests(self, input: SpotInstanceRequest) -> Self
Appends an item to spot_instance_requests
.
To override the contents of this collection use set_spot_instance_requests
.
The Spot Instance requests.
sourcepub fn set_spot_instance_requests(
self,
input: Option<Vec<SpotInstanceRequest>>
) -> Self
pub fn set_spot_instance_requests( self, input: Option<Vec<SpotInstanceRequest>> ) -> Self
The Spot Instance requests.
sourcepub fn get_spot_instance_requests(&self) -> &Option<Vec<SpotInstanceRequest>>
pub fn get_spot_instance_requests(&self) -> &Option<Vec<SpotInstanceRequest>>
The Spot Instance requests.
sourcepub fn build(self) -> RequestSpotInstancesOutput
pub fn build(self) -> RequestSpotInstancesOutput
Consumes the builder and constructs a RequestSpotInstancesOutput
.
Trait Implementations§
source§impl Clone for RequestSpotInstancesOutputBuilder
impl Clone for RequestSpotInstancesOutputBuilder
source§fn clone(&self) -> RequestSpotInstancesOutputBuilder
fn clone(&self) -> RequestSpotInstancesOutputBuilder
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 RequestSpotInstancesOutputBuilder
impl Default for RequestSpotInstancesOutputBuilder
source§fn default() -> RequestSpotInstancesOutputBuilder
fn default() -> RequestSpotInstancesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RequestSpotInstancesOutputBuilder
impl PartialEq for RequestSpotInstancesOutputBuilder
source§fn eq(&self, other: &RequestSpotInstancesOutputBuilder) -> bool
fn eq(&self, other: &RequestSpotInstancesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequestSpotInstancesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RequestSpotInstancesOutputBuilder
impl Send for RequestSpotInstancesOutputBuilder
impl Sync for RequestSpotInstancesOutputBuilder
impl Unpin for RequestSpotInstancesOutputBuilder
impl UnwindSafe for RequestSpotInstancesOutputBuilder
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> 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>
Creates a shared type from an unshared type.