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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerThe job timeout time (in seconds) that's measured from the job attempt'sstartedAttimestamp.static JobTimeout.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends JobTimeout.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
attemptDurationSeconds
The job timeout time (in seconds) that's measured from the job attempt's
startedAttimestamp. 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
startedAttimestamp. 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
- Specified by:
toBuilderin interfaceToCopyableBuilder<JobTimeout.Builder,JobTimeout>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-