AWS SDK for C++

AWS SDK for C++ Version 1.11.617

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Batch::Model::JobTimeout Class Reference

#include <JobTimeout.h>

Public Member Functions

AWS_BATCH_API JobTimeout ()=default
 
AWS_BATCH_API JobTimeout (Aws::Utils::Json::JsonView jsonValue)
 
AWS_BATCH_API JobTimeoutoperator= (Aws::Utils::Json::JsonView jsonValue)
 
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize () const
 
 
 
void SetAttemptDurationSeconds (int value)
 
 

Detailed Description

An object that represents a job timeout configuration.

See Also:

AWS API Reference

Definition at line 30 of file JobTimeout.h.

Constructor & Destructor Documentation

◆ JobTimeout() [1/2]

AWS_BATCH_API Aws::Batch::Model::JobTimeout::JobTimeout ( )
default

◆ JobTimeout() [2/2]

AWS_BATCH_API Aws::Batch::Model::JobTimeout::JobTimeout ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AttemptDurationSecondsHasBeenSet()

bool Aws::Batch::Model::JobTimeout::AttemptDurationSecondsHasBeenSet ( ) const
inline

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.

Definition at line 49 of file JobTimeout.h.

◆ GetAttemptDurationSeconds()

int Aws::Batch::Model::JobTimeout::GetAttemptDurationSeconds ( ) const
inline

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.

Definition at line 48 of file JobTimeout.h.

◆ Jsonize()

AWS_BATCH_API Aws::Utils::Json::JsonValue Aws::Batch::Model::JobTimeout::Jsonize ( ) const

◆ operator=()

AWS_BATCH_API JobTimeout & Aws::Batch::Model::JobTimeout::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAttemptDurationSeconds()

void Aws::Batch::Model::JobTimeout::SetAttemptDurationSeconds ( int  value)
inline

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.

Definition at line 50 of file JobTimeout.h.

◆ WithAttemptDurationSeconds()

JobTimeout & Aws::Batch::Model::JobTimeout::WithAttemptDurationSeconds ( int  value)
inline

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.

Definition at line 51 of file JobTimeout.h.


The documentation for this class was generated from the following file: