#[non_exhaustive]pub struct DescribeClustersInputBuilder { /* private fields */ }
Expand description
A builder for DescribeClustersInput
.
Implementations§
source§impl DescribeClustersInputBuilder
impl DescribeClustersInputBuilder
sourcepub fn clusters(self, input: impl Into<String>) -> Self
pub fn clusters(self, input: impl Into<String>) -> Self
Appends an item to clusters
.
To override the contents of this collection use set_clusters
.
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
sourcepub fn set_clusters(self, input: Option<Vec<String>>) -> Self
pub fn set_clusters(self, input: Option<Vec<String>>) -> Self
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
sourcepub fn get_clusters(&self) -> &Option<Vec<String>>
pub fn get_clusters(&self) -> &Option<Vec<String>>
A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.
sourcepub fn include(self, input: ClusterField) -> Self
pub fn include(self, input: ClusterField) -> Self
Appends an item to include
.
To override the contents of this collection use set_include
.
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
sourcepub fn set_include(self, input: Option<Vec<ClusterField>>) -> Self
pub fn set_include(self, input: Option<Vec<ClusterField>>) -> Self
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
sourcepub fn get_include(&self) -> &Option<Vec<ClusterField>>
pub fn get_include(&self) -> &Option<Vec<ClusterField>>
Determines whether to include additional information about the clusters in the response. If this field is omitted, this information isn't included.
If ATTACHMENTS
is specified, the attachments for the container instances or tasks within the cluster are included, for example the capacity providers.
If SETTINGS
is specified, the settings for the cluster are included.
If CONFIGURATIONS
is specified, the configuration for the cluster is included.
If STATISTICS
is specified, the task and service count is included, separated by launch type.
If TAGS
is specified, the metadata tags associated with the cluster are included.
sourcepub fn build(self) -> Result<DescribeClustersInput, BuildError>
pub fn build(self) -> Result<DescribeClustersInput, BuildError>
Consumes the builder and constructs a DescribeClustersInput
.
source§impl DescribeClustersInputBuilder
impl DescribeClustersInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeClustersOutput, SdkError<DescribeClustersError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeClustersOutput, SdkError<DescribeClustersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeClustersInputBuilder
impl Clone for DescribeClustersInputBuilder
source§fn clone(&self) -> DescribeClustersInputBuilder
fn clone(&self) -> DescribeClustersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeClustersInputBuilder
impl Debug for DescribeClustersInputBuilder
source§impl Default for DescribeClustersInputBuilder
impl Default for DescribeClustersInputBuilder
source§fn default() -> DescribeClustersInputBuilder
fn default() -> DescribeClustersInputBuilder
source§impl PartialEq for DescribeClustersInputBuilder
impl PartialEq for DescribeClustersInputBuilder
source§fn eq(&self, other: &DescribeClustersInputBuilder) -> bool
fn eq(&self, other: &DescribeClustersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.