public class AwsJobTimeoutConfig
extends java.lang.Object
implements java.io.Serializable
Specifies the amount of time each device has to finish its execution of the
job. A timer is started when the job execution status is set to
IN_PROGRESS. If the job execution status is not set to another
terminal state before the timer expires, it will be automatically set to
TIMED_OUT.
| Constructor and Description |
|---|
AwsJobTimeoutConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getInProgressTimeoutInMinutes()
Specifies the amount of time, in minutes, this device has to finish
execution of this job.
|
int |
hashCode() |
void |
setInProgressTimeoutInMinutes(java.lang.Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish
execution of this job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AwsJobTimeoutConfig |
withInProgressTimeoutInMinutes(java.lang.Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish
execution of this job.
|
public java.lang.Long getInProgressTimeoutInMinutes()
Specifies the amount of time, in minutes, this device has to finish
execution of this job. The timeout interval can be anywhere between 1
minute and 7 days (1 to 10080 minutes). The in progress timer can't be
updated and will apply to all job executions for the job. Whenever a job
execution remains in the IN_PROGRESS status for longer than this
interval, the job execution will fail and switch to the terminal
TIMED_OUT status.
Specifies the amount of time, in minutes, this device has to
finish execution of this job. The timeout interval can be
anywhere between 1 minute and 7 days (1 to 10080 minutes). The in
progress timer can't be updated and will apply to all job
executions for the job. Whenever a job execution remains in the
IN_PROGRESS status for longer than this interval, the job
execution will fail and switch to the terminal
TIMED_OUT status.
public void setInProgressTimeoutInMinutes(java.lang.Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish
execution of this job. The timeout interval can be anywhere between 1
minute and 7 days (1 to 10080 minutes). The in progress timer can't be
updated and will apply to all job executions for the job. Whenever a job
execution remains in the IN_PROGRESS status for longer than this
interval, the job execution will fail and switch to the terminal
TIMED_OUT status.
inProgressTimeoutInMinutes -
Specifies the amount of time, in minutes, this device has to
finish execution of this job. The timeout interval can be
anywhere between 1 minute and 7 days (1 to 10080 minutes). The
in progress timer can't be updated and will apply to all job
executions for the job. Whenever a job execution remains in
the IN_PROGRESS status for longer than this interval, the job
execution will fail and switch to the terminal
TIMED_OUT status.
public AwsJobTimeoutConfig withInProgressTimeoutInMinutes(java.lang.Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish
execution of this job. The timeout interval can be anywhere between 1
minute and 7 days (1 to 10080 minutes). The in progress timer can't be
updated and will apply to all job executions for the job. Whenever a job
execution remains in the IN_PROGRESS status for longer than this
interval, the job execution will fail and switch to the terminal
TIMED_OUT status.
Returns a reference to this object so that method calls can be chained together.
inProgressTimeoutInMinutes -
Specifies the amount of time, in minutes, this device has to
finish execution of this job. The timeout interval can be
anywhere between 1 minute and 7 days (1 to 10080 minutes). The
in progress timer can't be updated and will apply to all job
executions for the job. Whenever a job execution remains in
the IN_PROGRESS status for longer than this interval, the job
execution will fail and switch to the terminal
TIMED_OUT status.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.