JobDetail class

An object representing an AWS Batch job.

Constructors

JobDetail({required String jobDefinition, required String jobId, required String jobName, required String jobQueue, required int startedAt, required JobStatus status, ArrayPropertiesDetail? arrayProperties, List<AttemptDetail>? attempts, ContainerDetail? container, int? createdAt, List<JobDependency>? dependsOn, String? jobArn, NodeDetails? nodeDetails, NodeProperties? nodeProperties, Map<String, String>? parameters, List<PlatformCapability>? platformCapabilities, bool? propagateTags, RetryStrategy? retryStrategy, String? statusReason, int? stoppedAt, Map<String, String>? tags, JobTimeout? timeout})
JobDetail.fromJson(Map<String, dynamic> json)
factory

Properties

arrayProperties ArrayPropertiesDetail?
The array properties of the job, if it is an array job.
final
attempts List<AttemptDetail>?
A list of job attempts associated with this job.
final
container ContainerDetail?
An object representing the details of the container that's associated with the job.
final
createdAt int?
The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING state.
final
dependsOn List<JobDependency>?
A list of job IDs that this job depends on.
final
hashCode int
The hash code for this object.
no setterinherited
jobArn String?
The Amazon Resource Name (ARN) of the job.
final
jobDefinition String
The job definition that's used by this job.
final
jobId String
The ID for the job.
final
jobName String
The name of the job.
final
jobQueue String
The Amazon Resource Name (ARN) of the job queue that the job is associated with.
final
nodeDetails NodeDetails?
An object representing the details of a node that's associated with a multi-node parallel job.
final
nodeProperties NodeProperties?
An object representing the node properties of a multi-node parallel job.
final
parameters Map<String, String>?
Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.
final
platformCapabilities List<PlatformCapability>?
The platform capabilities required by the job definition. If no value is specified, it defaults to EC2. Jobs run on Fargate resources specify FARGATE.
final
propagateTags bool?
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags are not propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED state.
final
retryStrategy RetryStrategy?
The retry strategy to use for this job if an attempt fails.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startedAt int
The Unix timestamp (in milliseconds) for when the job was started (when the job transitioned from the STARTING state to the RUNNING state). This parameter isn't provided for child jobs of array jobs or multi-node parallel jobs.
final
status JobStatus
The current status for the job.
final
statusReason String?
A short, human-readable string to provide additional details about the current status of the job.
final
stoppedAt int?
The Unix timestamp (in milliseconds) for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).
final
tags Map<String, String>?
The tags applied to the job.
final
timeout JobTimeout?
The timeout configuration for the job.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited