@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Job extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a job in the Data Catalog.
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 capacity units allocated to 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 specification was created.
|
Map<String,String> |
getDefaultArguments()
The default parameters for this job.
|
String |
getDescription()
Description of this job.
|
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 specification was modified.
|
String |
getLogUri()
This field is reserved for future use.
|
Integer |
getMaxRetries()
The maximum number of times to retry this job if it fails.
|
String |
getName()
The name you assign to this job.
|
String |
getRole()
The role associated with this job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllocatedCapacity(Integer allocatedCapacity)
The number of capacity units allocated to 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 specification was created.
|
void |
setDefaultArguments(Map<String,String> defaultArguments)
The default parameters for this job.
|
void |
setDescription(String description)
Description of this job.
|
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 specification 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 if it fails.
|
void |
setName(String name)
The name you assign to this job.
|
void |
setRole(String role)
The role associated with this job.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Job |
withAllocatedCapacity(Integer allocatedCapacity)
The number of capacity units allocated to 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 specification was created.
|
Job |
withDefaultArguments(Map<String,String> defaultArguments)
The default parameters for this job.
|
Job |
withDescription(String description)
Description of this job.
|
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 specification 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 if it fails.
|
Job |
withName(String name)
The name you assign to this job.
|
Job |
withRole(String role)
The role associated with this job.
|
public void setName(String name)
The name you assign to this job.
name
- The name you assign to this job.public String getName()
The name you assign to this job.
public Job withName(String name)
The name you assign to this job.
name
- The name you assign to this job.public void setDescription(String description)
Description of this job.
description
- Description of this job.public String getDescription()
Description of this job.
public Job withDescription(String description)
Description of this job.
description
- Description of this job.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 role associated with this job.
role
- The role associated with this job.public String getRole()
The role associated with this job.
public Job withRole(String role)
The role associated with this job.
role
- The role associated with this job.public void setCreatedOn(Date createdOn)
The time and date that this job specification was created.
createdOn
- The time and date that this job specification was created.public Date getCreatedOn()
The time and date that this job specification was created.
public Job withCreatedOn(Date createdOn)
The time and date that this job specification was created.
createdOn
- The time and date that this job specification was created.public void setLastModifiedOn(Date lastModifiedOn)
The last point in time when this job specification was modified.
lastModifiedOn
- The last point in time when this job specification was modified.public Date getLastModifiedOn()
The last point in time when this job specification was modified.
public Job withLastModifiedOn(Date lastModifiedOn)
The last point in time when this job specification was modified.
lastModifiedOn
- The last point in time when this job specification 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 parameters for this job.
public void setDefaultArguments(Map<String,String> defaultArguments)
The default parameters for this job.
defaultArguments
- The default parameters for this job.public Job withDefaultArguments(Map<String,String> defaultArguments)
The default parameters for this job.
defaultArguments
- The default parameters for this job.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 if it fails.
maxRetries
- The maximum number of times to retry this job if it fails.public Integer getMaxRetries()
The maximum number of times to retry this job if it fails.
public Job withMaxRetries(Integer maxRetries)
The maximum number of times to retry this job if it fails.
maxRetries
- The maximum number of times to retry this job if it fails.public void setAllocatedCapacity(Integer allocatedCapacity)
The number of capacity units allocated to this job.
allocatedCapacity
- The number of capacity units allocated to this job.public Integer getAllocatedCapacity()
The number of capacity units allocated to this job.
public Job withAllocatedCapacity(Integer allocatedCapacity)
The number of capacity units allocated to this job.
allocatedCapacity
- The number of capacity units allocated to this job.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.