@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Job extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a job definition.
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
Job |
addDefaultArgumentsEntry(String key,
String value) |
Job |
clearDefaultArgumentsEntries()
Removes all the entries added into DefaultArguments.
|
Job |
clone() |
boolean |
equals(Object obj) |
Integer |
getAllocatedCapacity()
The number of AWS Glue data processing units (DPUs) allocated to runs of this job.
|
JobCommand |
getCommand()
The JobCommand that executes this job.
|
ConnectionsList |
getConnections()
The connections used for this job.
|
Date |
getCreatedOn()
The time and date that this job definition was created.
|
Map<String,String> |
getDefaultArguments()
The default arguments for this job, specified as name-value pairs.
|
String |
getDescription()
Description of the job being defined.
|
ExecutionProperty |
getExecutionProperty()
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
Date |
getLastModifiedOn()
The last point in time when this job definition was modified.
|
String |
getLogUri()
This field is reserved for future use.
|
Integer |
getMaxRetries()
The maximum number of times to retry this job after a JobRun fails.
|
String |
getName()
The name you assign to this job definition.
|
NotificationProperty |
getNotificationProperty()
Specifies configuration properties of a job notification.
|
String |
getRole()
The name or ARN of the IAM role associated with this job.
|
Integer |
getTimeout()
The job timeout in minutes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllocatedCapacity(Integer allocatedCapacity)
The number of AWS Glue data processing units (DPUs) allocated to runs of this job.
|
void |
setCommand(JobCommand command)
The JobCommand that executes this job.
|
void |
setConnections(ConnectionsList connections)
The connections used for this job.
|
void |
setCreatedOn(Date createdOn)
The time and date that this job definition was created.
|
void |
setDefaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
|
void |
setDescription(String description)
Description of the job being defined.
|
void |
setExecutionProperty(ExecutionProperty executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
void |
setLastModifiedOn(Date lastModifiedOn)
The last point in time when this job definition was modified.
|
void |
setLogUri(String logUri)
This field is reserved for future use.
|
void |
setMaxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
|
void |
setName(String name)
The name you assign to this job definition.
|
void |
setNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
|
void |
setRole(String role)
The name or ARN of the IAM role associated with this job.
|
void |
setTimeout(Integer timeout)
The job timeout in minutes.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Job |
withAllocatedCapacity(Integer allocatedCapacity)
The number of AWS Glue data processing units (DPUs) allocated to runs of this job.
|
Job |
withCommand(JobCommand command)
The JobCommand that executes this job.
|
Job |
withConnections(ConnectionsList connections)
The connections used for this job.
|
Job |
withCreatedOn(Date createdOn)
The time and date that this job definition was created.
|
Job |
withDefaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
|
Job |
withDescription(String description)
Description of the job being defined.
|
Job |
withExecutionProperty(ExecutionProperty executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
|
Job |
withLastModifiedOn(Date lastModifiedOn)
The last point in time when this job definition was modified.
|
Job |
withLogUri(String logUri)
This field is reserved for future use.
|
Job |
withMaxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
|
Job |
withName(String name)
The name you assign to this job definition.
|
Job |
withNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
|
Job |
withRole(String role)
The name or ARN of the IAM role associated with this job.
|
Job |
withTimeout(Integer timeout)
The job timeout in minutes.
|
public void setName(String name)
The name you assign to this job definition.
name
- The name you assign to this job definition.public String getName()
The name you assign to this job definition.
public Job withName(String name)
The name you assign to this job definition.
name
- The name you assign to this job definition.public void setDescription(String description)
Description of the job being defined.
description
- Description of the job being defined.public String getDescription()
Description of the job being defined.
public Job withDescription(String description)
Description of the job being defined.
description
- Description of the job being defined.public void setLogUri(String logUri)
This field is reserved for future use.
logUri
- This field is reserved for future use.public String getLogUri()
This field is reserved for future use.
public Job withLogUri(String logUri)
This field is reserved for future use.
logUri
- This field is reserved for future use.public void setRole(String role)
The name or ARN of the IAM role associated with this job.
role
- The name or ARN of the IAM role associated with this job.public String getRole()
The name or ARN of the IAM role associated with this job.
public Job withRole(String role)
The name or ARN of the IAM role associated with this job.
role
- The name or ARN of the IAM role associated with this job.public void setCreatedOn(Date createdOn)
The time and date that this job definition was created.
createdOn
- The time and date that this job definition was created.public Date getCreatedOn()
The time and date that this job definition was created.
public Job withCreatedOn(Date createdOn)
The time and date that this job definition was created.
createdOn
- The time and date that this job definition was created.public void setLastModifiedOn(Date lastModifiedOn)
The last point in time when this job definition was modified.
lastModifiedOn
- The last point in time when this job definition was modified.public Date getLastModifiedOn()
The last point in time when this job definition was modified.
public Job withLastModifiedOn(Date lastModifiedOn)
The last point in time when this job definition was modified.
lastModifiedOn
- The last point in time when this job definition was modified.public void setExecutionProperty(ExecutionProperty executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
executionProperty
- An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.public ExecutionProperty getExecutionProperty()
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
public Job withExecutionProperty(ExecutionProperty executionProperty)
An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.
executionProperty
- An ExecutionProperty specifying the maximum number of concurrent runs allowed for this job.public void setCommand(JobCommand command)
The JobCommand that executes this job.
command
- The JobCommand that executes this job.public JobCommand getCommand()
The JobCommand that executes this job.
public Job withCommand(JobCommand command)
The JobCommand that executes this job.
command
- The JobCommand that executes this job.public Map<String,String> getDefaultArguments()
The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
public void setDefaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
defaultArguments
- The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
public Job withDefaultArguments(Map<String,String> defaultArguments)
The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
defaultArguments
- The default arguments for this job, specified as name-value pairs.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
public Job clearDefaultArgumentsEntries()
public void setConnections(ConnectionsList connections)
The connections used for this job.
connections
- The connections used for this job.public ConnectionsList getConnections()
The connections used for this job.
public Job withConnections(ConnectionsList connections)
The connections used for this job.
connections
- The connections used for this job.public void setMaxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
maxRetries
- The maximum number of times to retry this job after a JobRun fails.public Integer getMaxRetries()
The maximum number of times to retry this job after a JobRun fails.
public Job withMaxRetries(Integer maxRetries)
The maximum number of times to retry this job after a JobRun fails.
maxRetries
- The maximum number of times to retry this job after a JobRun fails.public void setAllocatedCapacity(Integer allocatedCapacity)
The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can be allocated; the default is 10. 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.
allocatedCapacity
- The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can
be allocated; the default is 10. 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.public Integer getAllocatedCapacity()
The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can be allocated; the default is 10. 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.
public Job withAllocatedCapacity(Integer allocatedCapacity)
The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can be allocated; the default is 10. 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.
allocatedCapacity
- The number of AWS Glue data processing units (DPUs) allocated to runs of this job. From 2 to 100 DPUs can
be allocated; the default is 10. 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.public void setTimeout(Integer timeout)
The job timeout in minutes.
timeout
- The job timeout in minutes.public Integer getTimeout()
The job timeout in minutes.
public Job withTimeout(Integer timeout)
The job timeout in minutes.
timeout
- The job timeout in minutes.public void setNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
notificationProperty
- Specifies configuration properties of a job notification.public NotificationProperty getNotificationProperty()
Specifies configuration properties of a job notification.
public Job withNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job notification.
notificationProperty
- Specifies configuration properties of a job notification.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.