@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeoutConfig extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
TimeoutConfig |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
TimeoutConfig |
withInProgressTimeoutInMinutes(Long inProgressTimeoutInMinutes)
Specifies the amount of time, in minutes, this device has to finish execution of this job.
|
public void setInProgressTimeoutInMinutes(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 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.
TIMED_OUT
status.public TimeoutConfig withInProgressTimeoutInMinutes(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 String toString()
toString
in class Object
Object.toString()
public TimeoutConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.