Job class

Specifies a job definition.

Constructors

Job({int? allocatedCapacity, JobCommand? command, ConnectionsList? connections, DateTime? createdOn, Map<String, String>? defaultArguments, String? description, ExecutionProperty? executionProperty, String? glueVersion, DateTime? lastModifiedOn, String? logUri, double? maxCapacity, int? maxRetries, String? name, Map<String, String>? nonOverridableArguments, NotificationProperty? notificationProperty, int? numberOfWorkers, String? role, String? securityConfiguration, int? timeout, WorkerType? workerType})
Job.fromJson(Map<String, dynamic> json)
factory

Properties

allocatedCapacity int?
This field is deprecated. Use MaxCapacity instead.
final
command JobCommand?
The JobCommand that executes this job.
final
connections ConnectionsList?
The connections used for this job.
final
createdOn DateTime?
The time and date that this job definition was created.
final
defaultArguments Map<String, String>?
The default arguments for this job, specified as name-value pairs.
final
description String?
A description of the job.
final
executionProperty ExecutionProperty?
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
final
glueVersion String?
Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark.
final
hashCode int
The hash code for this object.
no setterinherited
lastModifiedOn DateTime?
The last point in time when this job definition was modified.
final
logUri String?
This field is reserved for future use.
final
maxCapacity double?
The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page.
final
maxRetries int?
The maximum number of times to retry this job after a JobRun fails.
final
name String?
The name you assign to this job definition.
final
nonOverridableArguments Map<String, String>?
Non-overridable arguments for this job, specified as name-value pairs.
final
notificationProperty NotificationProperty?
Specifies configuration properties of a job notification.
final
numberOfWorkers int?
The number of workers of a defined workerType that are allocated when a job runs.
final
role String?
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityConfiguration String?
The name of the SecurityConfiguration structure to be used with this job.
final
timeout int?
The job timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
final
workerType WorkerType?
The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.
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