@Generated(value="software.amazon.awssdk:codegen") public final class TimeoutConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeoutConfig.Builder,TimeoutConfig>
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
.
Modifier and Type | Class and Description |
---|---|
static interface |
TimeoutConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static TimeoutConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
inProgressTimeoutInMinutes()
Specifies the amount of time, in minutes, this device has to finish execution of this job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeoutConfig.Builder> |
serializableBuilderClass() |
TimeoutConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final 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.
TIMED_OUT
status.public TimeoutConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TimeoutConfig.Builder,TimeoutConfig>
public static TimeoutConfig.Builder builder()
public static Class<? extends TimeoutConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.