Struct aws_sdk_batch::model::job_timeout::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for JobTimeout
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attempt_duration_seconds(self, input: i32) -> Self
pub fn attempt_duration_seconds(self, input: i32) -> Self
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.
sourcepub fn set_attempt_duration_seconds(self, input: Option<i32>) -> Self
pub fn set_attempt_duration_seconds(self, input: Option<i32>) -> Self
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.
sourcepub fn build(self) -> JobTimeout
pub fn build(self) -> JobTimeout
Consumes the builder and constructs a JobTimeout
.