Struct aws_sdk_ecs::operation::describe_container_instances::builders::DescribeContainerInstancesOutputBuilder
source · #[non_exhaustive]pub struct DescribeContainerInstancesOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeContainerInstancesOutput
.
Implementations§
source§impl DescribeContainerInstancesOutputBuilder
impl DescribeContainerInstancesOutputBuilder
sourcepub fn container_instances(self, input: ContainerInstance) -> Self
pub fn container_instances(self, input: ContainerInstance) -> Self
Appends an item to container_instances
.
To override the contents of this collection use set_container_instances
.
The list of container instances.
sourcepub fn set_container_instances(
self,
input: Option<Vec<ContainerInstance>>
) -> Self
pub fn set_container_instances( self, input: Option<Vec<ContainerInstance>> ) -> Self
The list of container instances.
sourcepub fn get_container_instances(&self) -> &Option<Vec<ContainerInstance>>
pub fn get_container_instances(&self) -> &Option<Vec<ContainerInstance>>
The list of container instances.
sourcepub fn failures(self, input: Failure) -> Self
pub fn failures(self, input: Failure) -> Self
Appends an item to failures
.
To override the contents of this collection use set_failures
.
Any failures associated with the call.
sourcepub fn set_failures(self, input: Option<Vec<Failure>>) -> Self
pub fn set_failures(self, input: Option<Vec<Failure>>) -> Self
Any failures associated with the call.
sourcepub fn get_failures(&self) -> &Option<Vec<Failure>>
pub fn get_failures(&self) -> &Option<Vec<Failure>>
Any failures associated with the call.
sourcepub fn build(self) -> DescribeContainerInstancesOutput
pub fn build(self) -> DescribeContainerInstancesOutput
Consumes the builder and constructs a DescribeContainerInstancesOutput
.
Trait Implementations§
source§impl Clone for DescribeContainerInstancesOutputBuilder
impl Clone for DescribeContainerInstancesOutputBuilder
source§fn clone(&self) -> DescribeContainerInstancesOutputBuilder
fn clone(&self) -> DescribeContainerInstancesOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DescribeContainerInstancesOutputBuilder
impl Default for DescribeContainerInstancesOutputBuilder
source§fn default() -> DescribeContainerInstancesOutputBuilder
fn default() -> DescribeContainerInstancesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeContainerInstancesOutputBuilder
impl PartialEq for DescribeContainerInstancesOutputBuilder
source§fn eq(&self, other: &DescribeContainerInstancesOutputBuilder) -> bool
fn eq(&self, other: &DescribeContainerInstancesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeContainerInstancesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeContainerInstancesOutputBuilder
impl RefUnwindSafe for DescribeContainerInstancesOutputBuilder
impl Send for DescribeContainerInstancesOutputBuilder
impl Sync for DescribeContainerInstancesOutputBuilder
impl Unpin for DescribeContainerInstancesOutputBuilder
impl UnwindSafe for DescribeContainerInstancesOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.