Class TimeoutConfig
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.TimeoutConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimeoutConfig.Builder,TimeoutConfig>
@Generated("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 toTIMED_OUT.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimeoutConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeoutConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonginProgressTimeoutInMinutes()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inProgressTimeoutInMinutes
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_OUTstatus.- Returns:
- 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_OUTstatus.
-
toBuilder
public TimeoutConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimeoutConfig.Builder,TimeoutConfig>
-
builder
public static TimeoutConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimeoutConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-