Struct aws_sdk_batch::model::AttemptDetail
source · #[non_exhaustive]pub struct AttemptDetail { /* private fields */ }
Expand description
An object that represents a job attempt.
Implementations§
source§impl AttemptDetail
impl AttemptDetail
sourcepub fn container(&self) -> Option<&AttemptContainerDetail>
pub fn container(&self) -> Option<&AttemptContainerDetail>
The details for the container in this job attempt.
sourcepub fn started_at(&self) -> Option<i64>
pub fn started_at(&self) -> Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
sourcepub fn stopped_at(&self) -> Option<i64>
pub fn stopped_at(&self) -> Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
A short, human-readable string to provide additional details for the current status of the job attempt.
source§impl AttemptDetail
impl AttemptDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttemptDetail
.
Trait Implementations§
source§impl Clone for AttemptDetail
impl Clone for AttemptDetail
source§fn clone(&self) -> AttemptDetail
fn clone(&self) -> AttemptDetail
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 AttemptDetail
impl Debug for AttemptDetail
source§impl PartialEq<AttemptDetail> for AttemptDetail
impl PartialEq<AttemptDetail> for AttemptDetail
source§fn eq(&self, other: &AttemptDetail) -> bool
fn eq(&self, other: &AttemptDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.