#[non_exhaustive]pub struct ListClustersOutputBuilder { /* private fields */ }Expand description
A builder for ListClustersOutput.
Implementations§
source§impl ListClustersOutputBuilder
impl ListClustersOutputBuilder
sourcepub fn cluster_info_list(self, input: ClusterInfo) -> Self
pub fn cluster_info_list(self, input: ClusterInfo) -> Self
Appends an item to cluster_info_list.
To override the contents of this collection use set_cluster_info_list.
Information on each of the MSK clusters in the response.
sourcepub fn set_cluster_info_list(self, input: Option<Vec<ClusterInfo>>) -> Self
pub fn set_cluster_info_list(self, input: Option<Vec<ClusterInfo>>) -> Self
Information on each of the MSK clusters in the response.
sourcepub fn get_cluster_info_list(&self) -> &Option<Vec<ClusterInfo>>
pub fn get_cluster_info_list(&self) -> &Option<Vec<ClusterInfo>>
Information on each of the MSK clusters in the response.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response. To get another batch of clusters, provide this token in your next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response. To get another batch of clusters, provide this token in your next request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response. To get another batch of clusters, provide this token in your next request.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ListClustersOutputBuilder
impl PartialEq for ListClustersOutputBuilder
source§fn eq(&self, other: &ListClustersOutputBuilder) -> bool
fn eq(&self, other: &ListClustersOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListClustersOutputBuilder
Auto Trait Implementations§
impl Freeze for ListClustersOutputBuilder
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
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>
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>
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 more