@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobTimeout extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a job timeout configuration.
Constructor and Description |
---|
JobTimeout() |
Modifier and Type | Method and Description |
---|---|
JobTimeout |
clone() |
boolean |
equals(Object obj) |
Integer |
getAttemptDurationSeconds()
The time duration in seconds (measured from the job attempt's
startedAt timestamp) after which AWS
Batch terminates your jobs if they have not finished. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttemptDurationSeconds(Integer attemptDurationSeconds)
The time duration in seconds (measured from the job attempt's
startedAt timestamp) after which AWS
Batch terminates your jobs if they have not finished. |
String |
toString()
Returns a string representation of this object.
|
JobTimeout |
withAttemptDurationSeconds(Integer attemptDurationSeconds)
The time duration in seconds (measured from the job attempt's
startedAt timestamp) after which AWS
Batch terminates your jobs if they have not finished. |
public void setAttemptDurationSeconds(Integer attemptDurationSeconds)
The time duration in seconds (measured from the job attempt's startedAt
timestamp) after which AWS
Batch terminates your jobs if they have not finished.
attemptDurationSeconds
- The time duration in seconds (measured from the job attempt's startedAt
timestamp) after
which AWS Batch terminates your jobs if they have not finished.public Integer getAttemptDurationSeconds()
The time duration in seconds (measured from the job attempt's startedAt
timestamp) after which AWS
Batch terminates your jobs if they have not finished.
startedAt
timestamp) after
which AWS Batch terminates your jobs if they have not finished.public JobTimeout withAttemptDurationSeconds(Integer attemptDurationSeconds)
The time duration in seconds (measured from the job attempt's startedAt
timestamp) after which AWS
Batch terminates your jobs if they have not finished.
attemptDurationSeconds
- The time duration in seconds (measured from the job attempt's startedAt
timestamp) after
which AWS Batch terminates your jobs if they have not finished.public String toString()
toString
in class Object
Object.toString()
public JobTimeout clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.