Struct aws_sdk_ecs::operation::describe_container_instances::builders::DescribeContainerInstancesInputBuilder
source · #[non_exhaustive]pub struct DescribeContainerInstancesInputBuilder { /* private fields */ }
Expand description
A builder for DescribeContainerInstancesInput
.
Implementations§
source§impl DescribeContainerInstancesInputBuilder
impl DescribeContainerInstancesInputBuilder
sourcepub fn cluster(self, input: impl Into<String>) -> Self
pub fn cluster(self, input: impl Into<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance or container instances you are describing were launched in any cluster other than the default cluster.
sourcepub fn set_cluster(self, input: Option<String>) -> Self
pub fn set_cluster(self, input: Option<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance or container instances you are describing were launched in any cluster other than the default cluster.
sourcepub fn get_cluster(&self) -> &Option<String>
pub fn get_cluster(&self) -> &Option<String>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instances to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the container instance or container instances you are describing were launched in any cluster other than the default cluster.
sourcepub fn container_instances(self, input: impl Into<String>) -> Self
pub fn container_instances(self, input: impl Into<String>) -> Self
Appends an item to container_instances
.
To override the contents of this collection use set_container_instances
.
A list of up to 100 container instance IDs or full Amazon Resource Name (ARN) entries.
sourcepub fn set_container_instances(self, input: Option<Vec<String>>) -> Self
pub fn set_container_instances(self, input: Option<Vec<String>>) -> Self
A list of up to 100 container instance IDs or full Amazon Resource Name (ARN) entries.
sourcepub fn get_container_instances(&self) -> &Option<Vec<String>>
pub fn get_container_instances(&self) -> &Option<Vec<String>>
A list of up to 100 container instance IDs or full Amazon Resource Name (ARN) entries.
sourcepub fn include(self, input: ContainerInstanceField) -> Self
pub fn include(self, input: ContainerInstanceField) -> Self
Appends an item to include
.
To override the contents of this collection use set_include
.
Specifies whether you want to see the resource tags for the container instance. If TAGS
is specified, the tags are included in the response. If CONTAINER_INSTANCE_HEALTH
is specified, the container instance health is included in the response. If this field is omitted, tags and container instance health status aren't included in the response.
sourcepub fn set_include(self, input: Option<Vec<ContainerInstanceField>>) -> Self
pub fn set_include(self, input: Option<Vec<ContainerInstanceField>>) -> Self
Specifies whether you want to see the resource tags for the container instance. If TAGS
is specified, the tags are included in the response. If CONTAINER_INSTANCE_HEALTH
is specified, the container instance health is included in the response. If this field is omitted, tags and container instance health status aren't included in the response.
sourcepub fn get_include(&self) -> &Option<Vec<ContainerInstanceField>>
pub fn get_include(&self) -> &Option<Vec<ContainerInstanceField>>
Specifies whether you want to see the resource tags for the container instance. If TAGS
is specified, the tags are included in the response. If CONTAINER_INSTANCE_HEALTH
is specified, the container instance health is included in the response. If this field is omitted, tags and container instance health status aren't included in the response.
sourcepub fn build(self) -> Result<DescribeContainerInstancesInput, BuildError>
pub fn build(self) -> Result<DescribeContainerInstancesInput, BuildError>
Consumes the builder and constructs a DescribeContainerInstancesInput
.
source§impl DescribeContainerInstancesInputBuilder
impl DescribeContainerInstancesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeContainerInstancesOutput, SdkError<DescribeContainerInstancesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeContainerInstancesOutput, SdkError<DescribeContainerInstancesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeContainerInstancesInputBuilder
impl Clone for DescribeContainerInstancesInputBuilder
source§fn clone(&self) -> DescribeContainerInstancesInputBuilder
fn clone(&self) -> DescribeContainerInstancesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeContainerInstancesInputBuilder
impl Default for DescribeContainerInstancesInputBuilder
source§fn default() -> DescribeContainerInstancesInputBuilder
fn default() -> DescribeContainerInstancesInputBuilder
source§impl PartialEq for DescribeContainerInstancesInputBuilder
impl PartialEq for DescribeContainerInstancesInputBuilder
source§fn eq(&self, other: &DescribeContainerInstancesInputBuilder) -> bool
fn eq(&self, other: &DescribeContainerInstancesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeContainerInstancesInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeContainerInstancesInputBuilder
impl RefUnwindSafe for DescribeContainerInstancesInputBuilder
impl Send for DescribeContainerInstancesInputBuilder
impl Sync for DescribeContainerInstancesInputBuilder
impl Unpin for DescribeContainerInstancesInputBuilder
impl UnwindSafe for DescribeContainerInstancesInputBuilder
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