Struct aws_sdk_batch::model::JobSummary
source · #[non_exhaustive]pub struct JobSummary { /* private fields */ }
Expand description
An object that represents summary details of a job.
Implementations§
source§impl JobSummary
impl JobSummary
sourcepub fn created_at(&self) -> Option<i64>
pub fn created_at(&self) -> Option<i64>
The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED
state (at the time SubmitJob
was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING
state.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
A short, human-readable string to provide more details for the current status of the job.
sourcepub fn started_at(&self) -> Option<i64>
pub fn started_at(&self) -> Option<i64>
The Unix timestamp for when the job was started. More specifically, it's when the job 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 for when the job was stopped. More specifically, it's when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
sourcepub fn container(&self) -> Option<&ContainerSummary>
pub fn container(&self) -> Option<&ContainerSummary>
An object that represents the details of the container that's associated with the job.
sourcepub fn array_properties(&self) -> Option<&ArrayPropertiesSummary>
pub fn array_properties(&self) -> Option<&ArrayPropertiesSummary>
The array properties of the job, if it's an array job.
sourcepub fn node_properties(&self) -> Option<&NodePropertiesSummary>
pub fn node_properties(&self) -> Option<&NodePropertiesSummary>
The node properties for a single node in a job summary list.
This isn't applicable to jobs that are running on Fargate resources.
sourcepub fn job_definition(&self) -> Option<&str>
pub fn job_definition(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the job definition.
source§impl JobSummary
impl JobSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobSummary
.
Trait Implementations§
source§impl Clone for JobSummary
impl Clone for JobSummary
source§fn clone(&self) -> JobSummary
fn clone(&self) -> JobSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobSummary
impl Debug for JobSummary
source§impl PartialEq<JobSummary> for JobSummary
impl PartialEq<JobSummary> for JobSummary
source§fn eq(&self, other: &JobSummary) -> bool
fn eq(&self, other: &JobSummary) -> bool
self
and other
values to be equal, and is used
by ==
.