Struct aws_sdk_ecs::operation::update_container_instances_state::builders::UpdateContainerInstancesStateOutputBuilder
source · #[non_exhaustive]pub struct UpdateContainerInstancesStateOutputBuilder { /* private fields */ }Expand description
A builder for UpdateContainerInstancesStateOutput.
Implementations§
source§impl UpdateContainerInstancesStateOutputBuilder
impl UpdateContainerInstancesStateOutputBuilder
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) -> UpdateContainerInstancesStateOutput
pub fn build(self) -> UpdateContainerInstancesStateOutput
Consumes the builder and constructs a UpdateContainerInstancesStateOutput.
Trait Implementations§
source§impl Clone for UpdateContainerInstancesStateOutputBuilder
impl Clone for UpdateContainerInstancesStateOutputBuilder
source§fn clone(&self) -> UpdateContainerInstancesStateOutputBuilder
fn clone(&self) -> UpdateContainerInstancesStateOutputBuilder
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 UpdateContainerInstancesStateOutputBuilder
impl Default for UpdateContainerInstancesStateOutputBuilder
source§fn default() -> UpdateContainerInstancesStateOutputBuilder
fn default() -> UpdateContainerInstancesStateOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateContainerInstancesStateOutputBuilder
impl PartialEq for UpdateContainerInstancesStateOutputBuilder
source§fn eq(&self, other: &UpdateContainerInstancesStateOutputBuilder) -> bool
fn eq(&self, other: &UpdateContainerInstancesStateOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateContainerInstancesStateOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateContainerInstancesStateOutputBuilder
impl RefUnwindSafe for UpdateContainerInstancesStateOutputBuilder
impl Send for UpdateContainerInstancesStateOutputBuilder
impl Sync for UpdateContainerInstancesStateOutputBuilder
impl Unpin for UpdateContainerInstancesStateOutputBuilder
impl UnwindSafe for UpdateContainerInstancesStateOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.