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