#[non_exhaustive]pub struct DescribeInstancesOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeInstancesOutput
.
Implementations§
source§impl DescribeInstancesOutputBuilder
impl DescribeInstancesOutputBuilder
sourcepub fn reservations(self, input: Reservation) -> Self
pub fn reservations(self, input: Reservation) -> Self
Appends an item to reservations
.
To override the contents of this collection use set_reservations
.
Information about the reservations.
sourcepub fn set_reservations(self, input: Option<Vec<Reservation>>) -> Self
pub fn set_reservations(self, input: Option<Vec<Reservation>>) -> Self
Information about the reservations.
sourcepub fn get_reservations(&self) -> &Option<Vec<Reservation>>
pub fn get_reservations(&self) -> &Option<Vec<Reservation>>
Information about the reservations.
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) -> DescribeInstancesOutput
pub fn build(self) -> DescribeInstancesOutput
Consumes the builder and constructs a DescribeInstancesOutput
.
Trait Implementations§
source§impl Clone for DescribeInstancesOutputBuilder
impl Clone for DescribeInstancesOutputBuilder
source§fn clone(&self) -> DescribeInstancesOutputBuilder
fn clone(&self) -> DescribeInstancesOutputBuilder
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 DescribeInstancesOutputBuilder
impl Default for DescribeInstancesOutputBuilder
source§fn default() -> DescribeInstancesOutputBuilder
fn default() -> DescribeInstancesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeInstancesOutputBuilder
impl PartialEq for DescribeInstancesOutputBuilder
source§fn eq(&self, other: &DescribeInstancesOutputBuilder) -> bool
fn eq(&self, other: &DescribeInstancesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeInstancesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeInstancesOutputBuilder
impl Send for DescribeInstancesOutputBuilder
impl Sync for DescribeInstancesOutputBuilder
impl Unpin for DescribeInstancesOutputBuilder
impl UnwindSafe for DescribeInstancesOutputBuilder
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.