Class JobTimeout
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.JobTimeout
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<JobTimeout.Builder,JobTimeout>
@Generated("software.amazon.awssdk:codegen") public final class JobTimeout extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobTimeout.Builder,JobTimeout>
An object that represents a job timeout configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
JobTimeout.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
attemptDurationSeconds()
The job timeout time (in seconds) that's measured from the job attempt'sstartedAt
timestamp.static JobTimeout.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends JobTimeout.Builder>
serializableBuilderClass()
JobTimeout.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
-
attemptDurationSeconds
public final Integer attemptDurationSeconds()
The job timeout time (in seconds) that's measured from the job attempt's
startedAt
timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.
- Returns:
- The job timeout time (in seconds) that's measured from the job attempt's
startedAt
timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.
-
toBuilder
public JobTimeout.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<JobTimeout.Builder,JobTimeout>
-
builder
public static JobTimeout.Builder builder()
-
serializableBuilderClass
public static Class<? extends JobTimeout.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.
-
-