Struct aws_sdk_ecs::operation::start_task::builders::StartTaskOutputBuilder
source · #[non_exhaustive]pub struct StartTaskOutputBuilder { /* private fields */ }Expand description
A builder for StartTaskOutput.
Implementations§
source§impl StartTaskOutputBuilder
impl StartTaskOutputBuilder
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 started. Each task that was successfully placed on your container instances is described.
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 started. Each task that was successfully placed on your container instances is described.
sourcepub fn get_tasks(&self) -> &Option<Vec<Task>>
pub fn get_tasks(&self) -> &Option<Vec<Task>>
A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.
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) -> StartTaskOutput
pub fn build(self) -> StartTaskOutput
Consumes the builder and constructs a StartTaskOutput.
Trait Implementations§
source§impl Clone for StartTaskOutputBuilder
impl Clone for StartTaskOutputBuilder
source§fn clone(&self) -> StartTaskOutputBuilder
fn clone(&self) -> StartTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartTaskOutputBuilder
impl Debug for StartTaskOutputBuilder
source§impl Default for StartTaskOutputBuilder
impl Default for StartTaskOutputBuilder
source§fn default() -> StartTaskOutputBuilder
fn default() -> StartTaskOutputBuilder
source§impl PartialEq for StartTaskOutputBuilder
impl PartialEq for StartTaskOutputBuilder
impl StructuralPartialEq for StartTaskOutputBuilder
Auto Trait Implementations§
impl Freeze for StartTaskOutputBuilder
impl RefUnwindSafe for StartTaskOutputBuilder
impl Send for StartTaskOutputBuilder
impl Sync for StartTaskOutputBuilder
impl Unpin for StartTaskOutputBuilder
impl UnwindSafe for StartTaskOutputBuilder
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> 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)
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>
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