@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.
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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.