@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)
Marshalls this structured data using the given
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. The minimum value for the timeout is 60 seconds.
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. The minimum value for the timeout is 60
seconds.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. The minimum value for the timeout is 60 seconds.
startedAt timestamp) after
which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60
seconds.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. The minimum value for the timeout is 60 seconds.
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. The minimum value for the timeout is 60
seconds.public String toString()
toString in class ObjectObject.toString()public JobTimeout clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.