@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; 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 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 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
).
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
).
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.