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