Struct aws_sdk_batch::model::JobTimeout
source · #[non_exhaustive]pub struct JobTimeout { /* private fields */ }
Expand description
An object that represents a job timeout configuration.
Implementations§
source§impl JobTimeout
impl JobTimeout
sourcepub fn attempt_duration_seconds(&self) -> Option<i32>
pub fn attempt_duration_seconds(&self) -> Option<i32>
The job timeout time (in seconds) that's measured from the job attempt's startedAt
timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.
For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.
source§impl JobTimeout
impl JobTimeout
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture JobTimeout
.
Trait Implementations§
source§impl Clone for JobTimeout
impl Clone for JobTimeout
source§fn clone(&self) -> JobTimeout
fn clone(&self) -> JobTimeout
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 JobTimeout
impl Debug for JobTimeout
source§impl PartialEq<JobTimeout> for JobTimeout
impl PartialEq<JobTimeout> for JobTimeout
source§fn eq(&self, other: &JobTimeout) -> bool
fn eq(&self, other: &JobTimeout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.