Struct aws_sdk_ecs::operation::run_task::builders::RunTaskOutputBuilder
source · #[non_exhaustive]pub struct RunTaskOutputBuilder { /* private fields */ }
Expand description
A builder for RunTaskOutput
.
Implementations§
source§impl RunTaskOutputBuilder
impl RunTaskOutputBuilder
sourcepub fn tasks(self, input: Task) -> Self
pub fn tasks(self, input: Task) -> Self
Appends an item to tasks
.
To override the contents of this collection use set_tasks
.
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
sourcepub fn set_tasks(self, input: Option<Vec<Task>>) -> Self
pub fn set_tasks(self, input: Option<Vec<Task>>) -> Self
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
sourcepub fn get_tasks(&self) -> &Option<Vec<Task>>
pub fn get_tasks(&self) -> &Option<Vec<Task>>
A full description of the tasks that were run. The tasks that were successfully placed on your cluster are described here.
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.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
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.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
sourcepub fn get_failures(&self) -> &Option<Vec<Failure>>
pub fn get_failures(&self) -> &Option<Vec<Failure>>
Any failures associated with the call.
For information about how to address failures, see Service event messages and API failure reasons in the Amazon Elastic Container Service Developer Guide.
sourcepub fn build(self) -> RunTaskOutput
pub fn build(self) -> RunTaskOutput
Consumes the builder and constructs a RunTaskOutput
.
Trait Implementations§
source§impl Clone for RunTaskOutputBuilder
impl Clone for RunTaskOutputBuilder
source§fn clone(&self) -> RunTaskOutputBuilder
fn clone(&self) -> RunTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RunTaskOutputBuilder
impl Debug for RunTaskOutputBuilder
source§impl Default for RunTaskOutputBuilder
impl Default for RunTaskOutputBuilder
source§fn default() -> RunTaskOutputBuilder
fn default() -> RunTaskOutputBuilder
source§impl PartialEq for RunTaskOutputBuilder
impl PartialEq for RunTaskOutputBuilder
source§fn eq(&self, other: &RunTaskOutputBuilder) -> bool
fn eq(&self, other: &RunTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RunTaskOutputBuilder
Auto Trait Implementations§
impl Freeze for RunTaskOutputBuilder
impl RefUnwindSafe for RunTaskOutputBuilder
impl Send for RunTaskOutputBuilder
impl Sync for RunTaskOutputBuilder
impl Unpin for RunTaskOutputBuilder
impl UnwindSafe for RunTaskOutputBuilder
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