#[non_exhaustive]pub struct EksAttemptContainerDetailBuilder { /* private fields */ }Expand description
A builder for EksAttemptContainerDetail.
Implementations§
source§impl EksAttemptContainerDetailBuilder
impl EksAttemptContainerDetailBuilder
sourcepub fn exit_code(self, input: i32) -> Self
pub fn exit_code(self, input: i32) -> Self
The exit code returned for the job attempt. A non-zero exit code is considered failed.
sourcepub fn set_exit_code(self, input: Option<i32>) -> Self
pub fn set_exit_code(self, input: Option<i32>) -> Self
The exit code returned for the job attempt. A non-zero exit code is considered failed.
sourcepub fn get_exit_code(&self) -> &Option<i32>
pub fn get_exit_code(&self) -> &Option<i32>
The exit code returned for the job attempt. A non-zero exit code is considered failed.
sourcepub fn reason(self, input: impl Into<String>) -> Self
pub fn reason(self, input: impl Into<String>) -> Self
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
sourcepub fn set_reason(self, input: Option<String>) -> Self
pub fn set_reason(self, input: Option<String>) -> Self
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
sourcepub fn get_reason(&self) -> &Option<String>
pub fn get_reason(&self) -> &Option<String>
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
sourcepub fn build(self) -> EksAttemptContainerDetail
pub fn build(self) -> EksAttemptContainerDetail
Consumes the builder and constructs a EksAttemptContainerDetail.
Trait Implementations§
source§impl Clone for EksAttemptContainerDetailBuilder
impl Clone for EksAttemptContainerDetailBuilder
source§fn clone(&self) -> EksAttemptContainerDetailBuilder
fn clone(&self) -> EksAttemptContainerDetailBuilder
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 Default for EksAttemptContainerDetailBuilder
impl Default for EksAttemptContainerDetailBuilder
source§fn default() -> EksAttemptContainerDetailBuilder
fn default() -> EksAttemptContainerDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EksAttemptContainerDetailBuilder
impl PartialEq for EksAttemptContainerDetailBuilder
source§fn eq(&self, other: &EksAttemptContainerDetailBuilder) -> bool
fn eq(&self, other: &EksAttemptContainerDetailBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EksAttemptContainerDetailBuilder
Auto Trait Implementations§
impl Freeze for EksAttemptContainerDetailBuilder
impl RefUnwindSafe for EksAttemptContainerDetailBuilder
impl Send for EksAttemptContainerDetailBuilder
impl Sync for EksAttemptContainerDetailBuilder
impl Unpin for EksAttemptContainerDetailBuilder
impl UnwindSafe for EksAttemptContainerDetailBuilder
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.