pub struct ListClustersFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListClusters.
Provides the status of all clusters visible to this Amazon Web Services account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters in unsorted order per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.
Implementations§
source§impl ListClustersFluentBuilder
impl ListClustersFluentBuilder
sourcepub fn as_input(&self) -> &ListClustersInputBuilder
pub fn as_input(&self) -> &ListClustersInputBuilder
Access the ListClusters as a reference.
sourcepub async fn send(
self
) -> Result<ListClustersOutput, SdkError<ListClustersError, HttpResponse>>
pub async fn send( self ) -> Result<ListClustersOutput, SdkError<ListClustersError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListClustersOutput, ListClustersError, Self>
pub fn customize( self ) -> CustomizableOperation<ListClustersOutput, ListClustersError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListClustersPaginator
pub fn into_paginator(self) -> ListClustersPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn created_after(self, input: DateTime) -> Self
pub fn created_after(self, input: DateTime) -> Self
The creation date and time beginning value filter for listing clusters.
sourcepub fn set_created_after(self, input: Option<DateTime>) -> Self
pub fn set_created_after(self, input: Option<DateTime>) -> Self
The creation date and time beginning value filter for listing clusters.
sourcepub fn get_created_after(&self) -> &Option<DateTime>
pub fn get_created_after(&self) -> &Option<DateTime>
The creation date and time beginning value filter for listing clusters.
sourcepub fn created_before(self, input: DateTime) -> Self
pub fn created_before(self, input: DateTime) -> Self
The creation date and time end value filter for listing clusters.
sourcepub fn set_created_before(self, input: Option<DateTime>) -> Self
pub fn set_created_before(self, input: Option<DateTime>) -> Self
The creation date and time end value filter for listing clusters.
sourcepub fn get_created_before(&self) -> &Option<DateTime>
pub fn get_created_before(&self) -> &Option<DateTime>
The creation date and time end value filter for listing clusters.
sourcepub fn cluster_states(self, input: ClusterState) -> Self
pub fn cluster_states(self, input: ClusterState) -> Self
Appends an item to ClusterStates.
To override the contents of this collection use set_cluster_states.
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
sourcepub fn set_cluster_states(self, input: Option<Vec<ClusterState>>) -> Self
pub fn set_cluster_states(self, input: Option<Vec<ClusterState>>) -> Self
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
sourcepub fn get_cluster_states(&self) -> &Option<Vec<ClusterState>>
pub fn get_cluster_states(&self) -> &Option<Vec<ClusterState>>
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
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.
Trait Implementations§
source§impl Clone for ListClustersFluentBuilder
impl Clone for ListClustersFluentBuilder
source§fn clone(&self) -> ListClustersFluentBuilder
fn clone(&self) -> ListClustersFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more