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 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 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
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 Debug for RunTaskOutputBuilder
impl Debug for RunTaskOutputBuilder
source§impl Default for RunTaskOutputBuilder
impl Default for RunTaskOutputBuilder
source§fn default() -> RunTaskOutputBuilder
fn default() -> RunTaskOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RunTaskOutputBuilder> for RunTaskOutputBuilder
impl PartialEq<RunTaskOutputBuilder> for RunTaskOutputBuilder
source§fn eq(&self, other: &RunTaskOutputBuilder) -> bool
fn eq(&self, other: &RunTaskOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RunTaskOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more