Class Job
- java.lang.Object
-
- com.amazonaws.services.importexport.model.Job
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Job extends Object implements Serializable, Cloneable
Representation of a job returned by the ListJobs operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Job()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Jobclone()booleanequals(Object obj)DategetCreationDate()BooleangetIsCanceled()StringgetJobId()StringgetJobType()inthashCode()BooleanisCanceled()voidsetCreationDate(Date creationDate)voidsetIsCanceled(Boolean isCanceled)voidsetJobId(String jobId)voidsetJobType(JobType jobType)voidsetJobType(String jobType)StringtoString()Returns a string representation of this object; useful for testing and debugging.JobwithCreationDate(Date creationDate)JobwithIsCanceled(Boolean isCanceled)JobwithJobId(String jobId)JobwithJobType(JobType jobType)JobwithJobType(String jobType)
-
-
-
Method Detail
-
setJobId
public void setJobId(String jobId)
- Parameters:
jobId-
-
getJobId
public String getJobId()
- Returns:
-
withJobId
public Job withJobId(String jobId)
- Parameters:
jobId-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDate
public void setCreationDate(Date creationDate)
- Parameters:
creationDate-
-
getCreationDate
public Date getCreationDate()
- Returns:
-
withCreationDate
public Job withCreationDate(Date creationDate)
- Parameters:
creationDate-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIsCanceled
public void setIsCanceled(Boolean isCanceled)
- Parameters:
isCanceled-
-
getIsCanceled
public Boolean getIsCanceled()
- Returns:
-
withIsCanceled
public Job withIsCanceled(Boolean isCanceled)
- Parameters:
isCanceled-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCanceled
public Boolean isCanceled()
- Returns:
-
withJobType
public Job withJobType(String jobType)
- Parameters:
jobType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobType
-
withJobType
public Job withJobType(JobType jobType)
- Parameters:
jobType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobType
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-