Struct aws_sdk_ec2::operation::describe_spot_instance_requests::builders::DescribeSpotInstanceRequestsOutputBuilder
source · #[non_exhaustive]pub struct DescribeSpotInstanceRequestsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeSpotInstanceRequestsOutput
.
Implementations§
source§impl DescribeSpotInstanceRequestsOutputBuilder
impl DescribeSpotInstanceRequestsOutputBuilder
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 next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
sourcepub fn build(self) -> DescribeSpotInstanceRequestsOutput
pub fn build(self) -> DescribeSpotInstanceRequestsOutput
Consumes the builder and constructs a DescribeSpotInstanceRequestsOutput
.
Trait Implementations§
source§impl Clone for DescribeSpotInstanceRequestsOutputBuilder
impl Clone for DescribeSpotInstanceRequestsOutputBuilder
source§fn clone(&self) -> DescribeSpotInstanceRequestsOutputBuilder
fn clone(&self) -> DescribeSpotInstanceRequestsOutputBuilder
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 DescribeSpotInstanceRequestsOutputBuilder
impl Default for DescribeSpotInstanceRequestsOutputBuilder
source§fn default() -> DescribeSpotInstanceRequestsOutputBuilder
fn default() -> DescribeSpotInstanceRequestsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeSpotInstanceRequestsOutputBuilder
impl PartialEq for DescribeSpotInstanceRequestsOutputBuilder
source§fn eq(&self, other: &DescribeSpotInstanceRequestsOutputBuilder) -> bool
fn eq(&self, other: &DescribeSpotInstanceRequestsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeSpotInstanceRequestsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeSpotInstanceRequestsOutputBuilder
impl Send for DescribeSpotInstanceRequestsOutputBuilder
impl Sync for DescribeSpotInstanceRequestsOutputBuilder
impl Unpin for DescribeSpotInstanceRequestsOutputBuilder
impl UnwindSafe for DescribeSpotInstanceRequestsOutputBuilder
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.