@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobTimeout extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents a job timeout configuration.
Constructor and Description |
---|
JobTimeout() |
Modifier and Type | Method and Description |
---|---|
JobTimeout |
clone() |
boolean |
equals(Object obj) |
Integer |
getAttemptDurationSeconds()
The job timeout time (in seconds) that's measured from the job attempt's
startedAt timestamp. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttemptDurationSeconds(Integer attemptDurationSeconds)
The job timeout time (in seconds) that's measured from the job attempt's
startedAt timestamp. |
String |
toString()
Returns a string representation of this object.
|
JobTimeout |
withAttemptDurationSeconds(Integer attemptDurationSeconds)
The job timeout time (in seconds) that's measured from the job attempt's
startedAt timestamp. |
public void setAttemptDurationSeconds(Integer attemptDurationSeconds)
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.
attemptDurationSeconds
- 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.
public Integer getAttemptDurationSeconds()
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.
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.
public JobTimeout withAttemptDurationSeconds(Integer attemptDurationSeconds)
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.
attemptDurationSeconds
- 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.
public String toString()
toString
in class Object
Object.toString()
public JobTimeout clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.