public class JobListEntry extends Object implements Serializable, Cloneable
Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job
is a job part, in the case of an export job.
| Constructor and Description |
|---|
JobListEntry() |
| Modifier and Type | Method and Description |
|---|---|
JobListEntry |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsMaster()
A value that indicates that this job is a master job.
|
String |
getJobId()
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000. |
String |
getJobState()
The current state of this job.
|
int |
hashCode() |
Boolean |
isMaster()
A value that indicates that this job is a master job.
|
void |
setIsMaster(Boolean isMaster)
A value that indicates that this job is a master job.
|
void |
setJobId(String jobId)
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000. |
void |
setJobState(JobState jobState)
The current state of this job.
|
void |
setJobState(String jobState)
The current state of this job.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JobListEntry |
withIsMaster(Boolean isMaster)
A value that indicates that this job is a master job.
|
JobListEntry |
withJobId(String jobId)
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000. |
JobListEntry |
withJobState(JobState jobState)
The current state of this job.
|
JobListEntry |
withJobState(String jobState)
The current state of this job.
|
public void setJobId(String jobId)
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
jobId - The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.public String getJobId()
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
JID123e4567-e89b-12d3-a456-426655440000.public JobListEntry withJobId(String jobId)
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000.
jobId - The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.public void setJobState(String jobState)
The current state of this job.
jobState - The current state of this job.JobStatepublic String getJobState()
The current state of this job.
JobStatepublic JobListEntry withJobState(String jobState)
The current state of this job.
jobState - The current state of this job.JobStatepublic void setJobState(JobState jobState)
The current state of this job.
jobState - The current state of this job.JobStatepublic JobListEntry withJobState(JobState jobState)
The current state of this job.
jobState - The current state of this job.JobStatepublic void setIsMaster(Boolean isMaster)
A value that indicates that this job is a master job. A master job represents a successful request to create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular master job are listed, because they are created after the master job is created.
isMaster - A value that indicates that this job is a master job. A master job represents a successful request to
create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have
at least one job part, and each job part is associated with a Snowball. It might take some time before the
job parts associated with a particular master job are listed, because they are created after the master
job is created.public Boolean getIsMaster()
A value that indicates that this job is a master job. A master job represents a successful request to create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular master job are listed, because they are created after the master job is created.
public JobListEntry withIsMaster(Boolean isMaster)
A value that indicates that this job is a master job. A master job represents a successful request to create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular master job are listed, because they are created after the master job is created.
isMaster - A value that indicates that this job is a master job. A master job represents a successful request to
create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have
at least one job part, and each job part is associated with a Snowball. It might take some time before the
job parts associated with a particular master job are listed, because they are created after the master
job is created.public Boolean isMaster()
A value that indicates that this job is a master job. A master job represents a successful request to create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular master job are listed, because they are created after the master job is created.
public String toString()
toString in class ObjectObject.toString()public JobListEntry clone()
Copyright © 2016. All rights reserved.