#[non_exhaustive]pub struct ListInstancesOutputBuilder { /* private fields */ }Expand description
A builder for ListInstancesOutput.
Implementations§
source§impl ListInstancesOutputBuilder
impl ListInstancesOutputBuilder
sourcepub fn instances(self, input: Instance) -> Self
pub fn instances(self, input: Instance) -> Self
Appends an item to instances.
To override the contents of this collection use set_instances.
The list of instances for the cluster and given filters.
sourcepub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
pub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
The list of instances for the cluster and given filters.
sourcepub fn get_instances(&self) -> &Option<Vec<Instance>>
pub fn get_instances(&self) -> &Option<Vec<Instance>>
The list of instances for the cluster and given filters.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The pagination token that indicates the next set of results to retrieve.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The pagination token that indicates the next set of results to retrieve.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The pagination token that indicates the next set of results to retrieve.
sourcepub fn build(self) -> ListInstancesOutput
pub fn build(self) -> ListInstancesOutput
Consumes the builder and constructs a ListInstancesOutput.
Trait Implementations§
source§impl Clone for ListInstancesOutputBuilder
impl Clone for ListInstancesOutputBuilder
source§fn clone(&self) -> ListInstancesOutputBuilder
fn clone(&self) -> ListInstancesOutputBuilder
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 Debug for ListInstancesOutputBuilder
impl Debug for ListInstancesOutputBuilder
source§impl Default for ListInstancesOutputBuilder
impl Default for ListInstancesOutputBuilder
source§fn default() -> ListInstancesOutputBuilder
fn default() -> ListInstancesOutputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ListInstancesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListInstancesOutputBuilder
impl RefUnwindSafe for ListInstancesOutputBuilder
impl Send for ListInstancesOutputBuilder
impl Sync for ListInstancesOutputBuilder
impl Unpin for ListInstancesOutputBuilder
impl UnwindSafe for ListInstancesOutputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.