Class AwsJobTimeoutConfig
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.AwsJobTimeoutConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AwsJobTimeoutConfig.Builder,AwsJobTimeoutConfig>
@Generated("software.amazon.awssdk:codegen") public final class AwsJobTimeoutConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsJobTimeoutConfig.Builder,AwsJobTimeoutConfig>
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 interface
AwsJobTimeoutConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsJobTimeoutConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<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 AwsJobTimeoutConfig.Builder>
serializableBuilderClass()
AwsJobTimeoutConfig.Builder
toBuilder()
String
toString()
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_OUT
status.- 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_OUT
status.
-
toBuilder
public AwsJobTimeoutConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AwsJobTimeoutConfig.Builder,AwsJobTimeoutConfig>
-
builder
public static AwsJobTimeoutConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsJobTimeoutConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-