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
source§fn eq(&self, other: &StartTaskOutputBuilder) -> bool
fn eq(&self, other: &StartTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.