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 Job
clone()
boolean
equals(Object obj)
Date
getCreationDate()
Boolean
getIsCanceled()
String
getJobId()
String
getJobType()
int
hashCode()
Boolean
isCanceled()
void
setCreationDate(Date creationDate)
void
setIsCanceled(Boolean isCanceled)
void
setJobId(String jobId)
void
setJobType(JobType jobType)
void
setJobType(String jobType)
String
toString()
Returns a string representation of this object; useful for testing and debugging.Job
withCreationDate(Date creationDate)
Job
withIsCanceled(Boolean isCanceled)
Job
withJobId(String jobId)
Job
withJobType(JobType jobType)
Job
withJobType(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-