Struct aws_sdk_batch::types::builders::ArrayPropertiesDetailBuilder
source · #[non_exhaustive]pub struct ArrayPropertiesDetailBuilder { /* private fields */ }
Expand description
A builder for ArrayPropertiesDetail
.
Implementations§
source§impl ArrayPropertiesDetailBuilder
impl ArrayPropertiesDetailBuilder
sourcepub fn status_summary(self, k: impl Into<String>, v: i32) -> Self
pub fn status_summary(self, k: impl Into<String>, v: i32) -> Self
Adds a key-value pair to status_summary
.
To override the contents of this collection use set_status_summary
.
A summary of the number of array job children in each available job status. This parameter is returned for parent array jobs.
sourcepub fn set_status_summary(self, input: Option<HashMap<String, i32>>) -> Self
pub fn set_status_summary(self, input: Option<HashMap<String, i32>>) -> Self
A summary of the number of array job children in each available job status. This parameter is returned for parent array jobs.
sourcepub fn get_status_summary(&self) -> &Option<HashMap<String, i32>>
pub fn get_status_summary(&self) -> &Option<HashMap<String, i32>>
A summary of the number of array job children in each available job status. This parameter is returned for parent array jobs.
sourcepub fn size(self, input: i32) -> Self
pub fn size(self, input: i32) -> Self
The size of the array job. This parameter is returned for parent array jobs.
sourcepub fn set_size(self, input: Option<i32>) -> Self
pub fn set_size(self, input: Option<i32>) -> Self
The size of the array job. This parameter is returned for parent array jobs.
sourcepub fn get_size(&self) -> &Option<i32>
pub fn get_size(&self) -> &Option<i32>
The size of the array job. This parameter is returned for parent array jobs.
sourcepub fn index(self, input: i32) -> Self
pub fn index(self, input: i32) -> Self
The job index within the array that's associated with this job. This parameter is returned for array job children.
sourcepub fn set_index(self, input: Option<i32>) -> Self
pub fn set_index(self, input: Option<i32>) -> Self
The job index within the array that's associated with this job. This parameter is returned for array job children.
sourcepub fn get_index(&self) -> &Option<i32>
pub fn get_index(&self) -> &Option<i32>
The job index within the array that's associated with this job. This parameter is returned for array job children.
sourcepub fn build(self) -> ArrayPropertiesDetail
pub fn build(self) -> ArrayPropertiesDetail
Consumes the builder and constructs a ArrayPropertiesDetail
.
Trait Implementations§
source§impl Clone for ArrayPropertiesDetailBuilder
impl Clone for ArrayPropertiesDetailBuilder
source§fn clone(&self) -> ArrayPropertiesDetailBuilder
fn clone(&self) -> ArrayPropertiesDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ArrayPropertiesDetailBuilder
impl Debug for ArrayPropertiesDetailBuilder
source§impl Default for ArrayPropertiesDetailBuilder
impl Default for ArrayPropertiesDetailBuilder
source§fn default() -> ArrayPropertiesDetailBuilder
fn default() -> ArrayPropertiesDetailBuilder
source§impl PartialEq for ArrayPropertiesDetailBuilder
impl PartialEq for ArrayPropertiesDetailBuilder
source§fn eq(&self, other: &ArrayPropertiesDetailBuilder) -> bool
fn eq(&self, other: &ArrayPropertiesDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArrayPropertiesDetailBuilder
Auto Trait Implementations§
impl Freeze for ArrayPropertiesDetailBuilder
impl RefUnwindSafe for ArrayPropertiesDetailBuilder
impl Send for ArrayPropertiesDetailBuilder
impl Sync for ArrayPropertiesDetailBuilder
impl Unpin for ArrayPropertiesDetailBuilder
impl UnwindSafe for ArrayPropertiesDetailBuilder
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> 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