public class TimeoutConfig extends Object implements 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 |
|---|
TimeoutConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getInProgressTimeoutInMinutes()
Specifies the amount of time, in minutes, this device has to finish
execution of this job.
|
int |
hashCode() |
void |
setInProgressTimeoutInMinutes(Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish
execution of this job.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TimeoutConfig |
withInProgressTimeoutInMinutes(Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish
execution of this job.
|
public Long getInProgressTimeoutInMinutes()
Specifies the amount of time, in minutes, this device has to finish
execution of this job. A timer is started, or restarted, whenever this
job's execution status is specified as IN_PROGRESS with this
field populated. If the job execution status is not set to a terminal
state before the timer expires, or before another job execution status
update is sent with this field populated, the status will be
automatically set to TIMED_OUT. Note that setting/resetting
this timer has no effect on the job execution timeout timer which may
have been specified when the job was created (
CreateJobExecution using the field
timeoutConfig).
Specifies the amount of time, in minutes, this device has to
finish execution of this job. A timer is started, or restarted,
whenever this job's execution status is specified as
IN_PROGRESS with this field populated. If the job
execution status is not set to a terminal state before the timer
expires, or before another job execution status update is sent
with this field populated, the status will be automatically set
to TIMED_OUT. Note that setting/resetting this timer
has no effect on the job execution timeout timer which may have
been specified when the job was created (
CreateJobExecution using the field
timeoutConfig).
public void setInProgressTimeoutInMinutes(Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish
execution of this job. A timer is started, or restarted, whenever this
job's execution status is specified as IN_PROGRESS with this
field populated. If the job execution status is not set to a terminal
state before the timer expires, or before another job execution status
update is sent with this field populated, the status will be
automatically set to TIMED_OUT. Note that setting/resetting
this timer has no effect on the job execution timeout timer which may
have been specified when the job was created (
CreateJobExecution using the field
timeoutConfig).
inProgressTimeoutInMinutes -
Specifies the amount of time, in minutes, this device has to
finish execution of this job. A timer is started, or
restarted, whenever this job's execution status is specified
as IN_PROGRESS with this field populated. If the
job execution status is not set to a terminal state before the
timer expires, or before another job execution status update
is sent with this field populated, the status will be
automatically set to TIMED_OUT. Note that
setting/resetting this timer has no effect on the job
execution timeout timer which may have been specified when the
job was created (CreateJobExecution using the
field timeoutConfig).
public TimeoutConfig withInProgressTimeoutInMinutes(Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish
execution of this job. A timer is started, or restarted, whenever this
job's execution status is specified as IN_PROGRESS with this
field populated. If the job execution status is not set to a terminal
state before the timer expires, or before another job execution status
update is sent with this field populated, the status will be
automatically set to TIMED_OUT. Note that setting/resetting
this timer has no effect on the job execution timeout timer which may
have been specified when the job was created (
CreateJobExecution using the field
timeoutConfig).
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. A timer is started, or
restarted, whenever this job's execution status is specified
as IN_PROGRESS with this field populated. If the
job execution status is not set to a terminal state before the
timer expires, or before another job execution status update
is sent with this field populated, the status will be
automatically set to TIMED_OUT. Note that
setting/resetting this timer has no effect on the job
execution timeout timer which may have been specified when the
job was created (CreateJobExecution using the
field timeoutConfig).
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.