public class JobListEntry extends Object implements Serializable, Cloneable
Each JobListEntry object contains a job's state, a job's ID, and
whether or not 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 master job represents a successful request to create an export job.
|
String |
getJobId()
The automatically generated ID for a job.
|
String |
getJobState() |
int |
hashCode() |
Boolean |
isMaster()
A master job represents a successful request to create an export job.
|
void |
setIsMaster(Boolean isMaster)
A master job represents a successful request to create an export job.
|
void |
setJobId(String jobId)
The automatically generated ID for a job.
|
void |
setJobState(JobState jobState) |
void |
setJobState(String jobState) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobListEntry |
withIsMaster(Boolean isMaster)
A master job represents a successful request to create an export job.
|
JobListEntry |
withJobId(String jobId)
The automatically generated ID for a job.
|
JobListEntry |
withJobState(JobState jobState) |
JobListEntry |
withJobState(String jobState) |
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 JobListEntry withJobState(String jobState)
jobState - JobStatepublic JobListEntry withJobState(JobState jobState)
jobState - JobStatepublic void setIsMaster(Boolean isMaster)
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 1 job part. All job parts are associated with a Snowball. It may take some time before the job parts associated with the master job are listed, as they are created after the master job is created.
isMaster - 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 1 job part. All job parts are
associated with a Snowball. It may take some time before the job
parts associated with the master job are listed, as they are
created after the master job is created.public Boolean getIsMaster()
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 1 job part. All job parts are associated with a Snowball. It may take some time before the job parts associated with the master job are listed, as they are created after the master job is created.
public JobListEntry withIsMaster(Boolean isMaster)
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 1 job part. All job parts are associated with a Snowball. It may take some time before the job parts associated with the master job are listed, as they are created after the master job is created.
isMaster - 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 1 job part. All job parts are
associated with a Snowball. It may take some time before the job
parts associated with the master job are listed, as they are
created after the master job is created.public Boolean isMaster()
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 1 job part. All job parts are associated with a Snowball. It may take some time before the job parts associated with the master job are listed, as 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.