@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()
Deprecated.
|
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.
|
Double |
getMaxCapacity()
AWS Glue supports running jobs on a
JobCommand.Name="pythonshell" with allocated processing as low
as 0.0625 DPU, which can be specified using MaxCapacity. |
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.
|
String |
getSecurityConfiguration()
The name of the SecurityConfiguration structure to be used with this job.
|
Integer |
getTimeout()
The job timeout in minutes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAllocatedCapacity(Integer allocatedCapacity)
Deprecated.
|
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 |
setMaxCapacity(Double maxCapacity)
AWS Glue supports running jobs on a
JobCommand.Name="pythonshell" with allocated processing as low
as 0.0625 DPU, which can be specified using MaxCapacity. |
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 |
setSecurityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with this job.
|
void |
setTimeout(Integer timeout)
The job timeout in minutes.
|
String |
toString()
Returns a string representation of this object.
|
Job |
withAllocatedCapacity(Integer allocatedCapacity)
Deprecated.
|
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 |
withMaxCapacity(Double maxCapacity)
AWS Glue supports running jobs on a
JobCommand.Name="pythonshell" with allocated processing as low
as 0.0625 DPU, which can be specified using MaxCapacity. |
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 |
withSecurityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used 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.@Deprecated public void setAllocatedCapacity(Integer allocatedCapacity)
This field is deprecated, use MaxCapacity instead.
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 - This field is deprecated, use MaxCapacity instead.
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.
@Deprecated public Integer getAllocatedCapacity()
This field is deprecated, use MaxCapacity instead.
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.
MaxCapacity instead.
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.
@Deprecated public Job withAllocatedCapacity(Integer allocatedCapacity)
This field is deprecated, use MaxCapacity instead.
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 - This field is deprecated, use MaxCapacity instead.
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. 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).
timeout - 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).public Integer getTimeout()
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).
TIMEOUT status. The default is 2,880 minutes (48 hours).public Job withTimeout(Integer timeout)
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).
timeout - 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).public void setMaxCapacity(Double maxCapacity)
AWS Glue supports running jobs on a JobCommand.Name="pythonshell" with allocated processing as low
as 0.0625 DPU, which can be specified using MaxCapacity. Glue ETL jobs running in any other way
cannot have fractional DPU allocations.
maxCapacity - AWS Glue supports running jobs on a JobCommand.Name="pythonshell" with allocated processing
as low as 0.0625 DPU, which can be specified using MaxCapacity. Glue ETL jobs running in any
other way cannot have fractional DPU allocations.public Double getMaxCapacity()
AWS Glue supports running jobs on a JobCommand.Name="pythonshell" with allocated processing as low
as 0.0625 DPU, which can be specified using MaxCapacity. Glue ETL jobs running in any other way
cannot have fractional DPU allocations.
JobCommand.Name="pythonshell" with allocated processing
as low as 0.0625 DPU, which can be specified using MaxCapacity. Glue ETL jobs running in any
other way cannot have fractional DPU allocations.public Job withMaxCapacity(Double maxCapacity)
AWS Glue supports running jobs on a JobCommand.Name="pythonshell" with allocated processing as low
as 0.0625 DPU, which can be specified using MaxCapacity. Glue ETL jobs running in any other way
cannot have fractional DPU allocations.
maxCapacity - AWS Glue supports running jobs on a JobCommand.Name="pythonshell" with allocated processing
as low as 0.0625 DPU, which can be specified using MaxCapacity. Glue ETL jobs running in any
other way cannot have fractional DPU allocations.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 void setSecurityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with this job.
securityConfiguration - The name of the SecurityConfiguration structure to be used with this job.public String getSecurityConfiguration()
The name of the SecurityConfiguration structure to be used with this job.
public Job withSecurityConfiguration(String securityConfiguration)
The name of the SecurityConfiguration structure to be used with this job.
securityConfiguration - The name of the SecurityConfiguration structure to be used with this job.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.