public class Job extends Object implements Serializable
Representation of a job returned by the ListJobs operation.
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreationDate()
Timestamp of the CreateJob request in ISO8601 date format.
|
Boolean |
getIsCanceled()
Indicates whether the job was canceled.
|
String |
getJobId()
A unique identifier which refers to a particular job.
|
String |
getJobType()
Specifies whether the job to initiate is an import or export job.
|
int |
hashCode() |
Boolean |
isCanceled()
Indicates whether the job was canceled.
|
void |
setCreationDate(Date creationDate)
Timestamp of the CreateJob request in ISO8601 date format.
|
void |
setIsCanceled(Boolean isCanceled)
Indicates whether the job was canceled.
|
void |
setJobId(String jobId)
A unique identifier which refers to a particular job.
|
void |
setJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.
|
void |
setJobType(String jobType)
Specifies whether the job to initiate is an import or export job.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Job |
withCreationDate(Date creationDate)
Timestamp of the CreateJob request in ISO8601 date format.
|
Job |
withIsCanceled(Boolean isCanceled)
Indicates whether the job was canceled.
|
Job |
withJobId(String jobId)
A unique identifier which refers to a particular job.
|
Job |
withJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.
|
Job |
withJobType(String jobType)
Specifies whether the job to initiate is an import or export job.
|
public String getJobId()
public void setJobId(String jobId)
jobId
- A unique identifier which refers to a particular job.public Job withJobId(String jobId)
Returns a reference to this object so that method calls can be chained together.
jobId
- A unique identifier which refers to a particular job.public Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate
- Timestamp of the CreateJob request in ISO8601 date format. For example
"2010-03-28T20:27:35Z".public Job withCreationDate(Date creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate
- Timestamp of the CreateJob request in ISO8601 date format. For example
"2010-03-28T20:27:35Z".public Boolean isCanceled()
public void setIsCanceled(Boolean isCanceled)
isCanceled
- Indicates whether the job was canceled.public Job withIsCanceled(Boolean isCanceled)
Returns a reference to this object so that method calls can be chained together.
isCanceled
- Indicates whether the job was canceled.public Boolean getIsCanceled()
public String getJobType()
Constraints:
Allowed Values: Import, Export
JobType
public void setJobType(String jobType)
Constraints:
Allowed Values: Import, Export
jobType
- Specifies whether the job to initiate is an import or export job.JobType
public Job withJobType(String jobType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Import, Export
jobType
- Specifies whether the job to initiate is an import or export job.JobType
public void setJobType(JobType jobType)
Constraints:
Allowed Values: Import, Export
jobType
- Specifies whether the job to initiate is an import or export job.JobType
public Job withJobType(JobType jobType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Import, Export
jobType
- Specifies whether the job to initiate is an import or export job.JobType
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.