Struct aws_sdk_batch::types::builders::EcsPropertiesBuilder
source · #[non_exhaustive]pub struct EcsPropertiesBuilder { /* private fields */ }
Expand description
A builder for EcsProperties
.
Implementations§
source§impl EcsPropertiesBuilder
impl EcsPropertiesBuilder
sourcepub fn task_properties(self, input: EcsTaskProperties) -> Self
pub fn task_properties(self, input: EcsTaskProperties) -> Self
Appends an item to task_properties
.
To override the contents of this collection use set_task_properties
.
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
sourcepub fn set_task_properties(self, input: Option<Vec<EcsTaskProperties>>) -> Self
pub fn set_task_properties(self, input: Option<Vec<EcsTaskProperties>>) -> Self
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
sourcepub fn get_task_properties(&self) -> &Option<Vec<EcsTaskProperties>>
pub fn get_task_properties(&self) -> &Option<Vec<EcsTaskProperties>>
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
sourcepub fn build(self) -> EcsProperties
pub fn build(self) -> EcsProperties
Consumes the builder and constructs a EcsProperties
.
Trait Implementations§
source§impl Clone for EcsPropertiesBuilder
impl Clone for EcsPropertiesBuilder
source§fn clone(&self) -> EcsPropertiesBuilder
fn clone(&self) -> EcsPropertiesBuilder
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 EcsPropertiesBuilder
impl Debug for EcsPropertiesBuilder
source§impl Default for EcsPropertiesBuilder
impl Default for EcsPropertiesBuilder
source§fn default() -> EcsPropertiesBuilder
fn default() -> EcsPropertiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EcsPropertiesBuilder
impl PartialEq for EcsPropertiesBuilder
source§fn eq(&self, other: &EcsPropertiesBuilder) -> bool
fn eq(&self, other: &EcsPropertiesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EcsPropertiesBuilder
Auto Trait Implementations§
impl Freeze for EcsPropertiesBuilder
impl RefUnwindSafe for EcsPropertiesBuilder
impl Send for EcsPropertiesBuilder
impl Sync for EcsPropertiesBuilder
impl Unpin for EcsPropertiesBuilder
impl UnwindSafe for EcsPropertiesBuilder
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> 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>
Creates a shared type from an unshared type.