Struct aws_sdk_memorydb::operation::describe_clusters::builders::DescribeClustersOutputBuilder
source · #[non_exhaustive]pub struct DescribeClustersOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeClustersOutput
.
Implementations§
source§impl DescribeClustersOutputBuilder
impl DescribeClustersOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn clusters(self, input: Cluster) -> Self
pub fn clusters(self, input: Cluster) -> Self
Appends an item to clusters
.
To override the contents of this collection use set_clusters
.
A list of clusters
sourcepub fn set_clusters(self, input: Option<Vec<Cluster>>) -> Self
pub fn set_clusters(self, input: Option<Vec<Cluster>>) -> Self
A list of clusters
sourcepub fn get_clusters(&self) -> &Option<Vec<Cluster>>
pub fn get_clusters(&self) -> &Option<Vec<Cluster>>
A list of clusters
sourcepub fn build(self) -> DescribeClustersOutput
pub fn build(self) -> DescribeClustersOutput
Consumes the builder and constructs a DescribeClustersOutput
.
Trait Implementations§
source§impl Clone for DescribeClustersOutputBuilder
impl Clone for DescribeClustersOutputBuilder
source§fn clone(&self) -> DescribeClustersOutputBuilder
fn clone(&self) -> DescribeClustersOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeClustersOutputBuilder
impl Default for DescribeClustersOutputBuilder
source§fn default() -> DescribeClustersOutputBuilder
fn default() -> DescribeClustersOutputBuilder
source§impl PartialEq<DescribeClustersOutputBuilder> for DescribeClustersOutputBuilder
impl PartialEq<DescribeClustersOutputBuilder> for DescribeClustersOutputBuilder
source§fn eq(&self, other: &DescribeClustersOutputBuilder) -> bool
fn eq(&self, other: &DescribeClustersOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.