@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) |
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.
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.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.
startedAt
timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value
for the timeout is 60 seconds.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.
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.public String toString()
toString in class ObjectObject.toString()public JobTimeout clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.