#[non_exhaustive]pub struct ListClustersOutputBuilder { /* private fields */ }
Expand description
A builder for ListClustersOutput
.
Implementations§
source§impl ListClustersOutputBuilder
impl ListClustersOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the result of the previous ListClusters
request was truncated, the response includes a NextToken
. To retrieve the next set of clusters, use the token in the next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the result of the previous ListClusters
request was truncated, the response includes a NextToken
. To retrieve the next set of clusters, use the token in the next request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the result of the previous ListClusters
request was truncated, the response includes a NextToken
. To retrieve the next set of clusters, use the token in the next request.
sourcepub fn cluster_summaries(self, input: ClusterSummary) -> Self
pub fn cluster_summaries(self, input: ClusterSummary) -> Self
Appends an item to cluster_summaries
.
To override the contents of this collection use set_cluster_summaries
.
The summaries of listed SageMaker HyperPod clusters.
sourcepub fn set_cluster_summaries(self, input: Option<Vec<ClusterSummary>>) -> Self
pub fn set_cluster_summaries(self, input: Option<Vec<ClusterSummary>>) -> Self
The summaries of listed SageMaker HyperPod clusters.
sourcepub fn get_cluster_summaries(&self) -> &Option<Vec<ClusterSummary>>
pub fn get_cluster_summaries(&self) -> &Option<Vec<ClusterSummary>>
The summaries of listed SageMaker HyperPod clusters.
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 ==
.