@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobListEntry extends Object implements Serializable, Cloneable, StructuredPojo
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) |
Date |
getCreationDate()
The creation date for this job.
|
String |
getDescription()
The optional description of this specific job, for example
Important Photos 2016-08-11 . |
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.
|
String |
getJobType()
The type of job.
|
String |
getSnowballType()
The type of appliance used with this job.
|
int |
hashCode() |
Boolean |
isMaster()
A value that indicates that this job is a master job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The creation date for this job.
|
void |
setDescription(String description)
The optional description of this specific job, for example
Important Photos 2016-08-11 . |
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.
|
void |
setJobType(JobType jobType)
The type of job.
|
void |
setJobType(String jobType)
The type of job.
|
void |
setSnowballType(SnowballType snowballType)
The type of appliance used with this job.
|
void |
setSnowballType(String snowballType)
The type of appliance used with this job.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JobListEntry |
withCreationDate(Date creationDate)
The creation date for this job.
|
JobListEntry |
withDescription(String description)
The optional description of this specific job, for example
Important Photos 2016-08-11 . |
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.
|
JobListEntry |
withJobType(JobType jobType)
The type of job.
|
JobListEntry |
withJobType(String jobType)
The type of job.
|
JobListEntry |
withSnowballType(SnowballType snowballType)
The type of appliance used with this job.
|
JobListEntry |
withSnowballType(String snowballType)
The type of appliance used with 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.JobState
public String getJobState()
The current state of this job.
JobState
public JobListEntry withJobState(String jobState)
The current state of this job.
jobState
- The current state of this job.JobState
public void setJobState(JobState jobState)
The current state of this job.
jobState
- The current state of this job.JobState
public JobListEntry withJobState(JobState jobState)
The current state of this job.
jobState
- The current state of this job.JobState
public 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 void setJobType(String jobType)
The type of job.
jobType
- The type of job.JobType
public JobListEntry withJobType(String jobType)
The type of job.
jobType
- The type of job.JobType
public void setJobType(JobType jobType)
The type of job.
jobType
- The type of job.JobType
public JobListEntry withJobType(JobType jobType)
The type of job.
jobType
- The type of job.JobType
public void setSnowballType(String snowballType)
The type of appliance used with this job.
snowballType
- The type of appliance used with this job.SnowballType
public String getSnowballType()
The type of appliance used with this job.
SnowballType
public JobListEntry withSnowballType(String snowballType)
The type of appliance used with this job.
snowballType
- The type of appliance used with this job.SnowballType
public void setSnowballType(SnowballType snowballType)
The type of appliance used with this job.
snowballType
- The type of appliance used with this job.SnowballType
public JobListEntry withSnowballType(SnowballType snowballType)
The type of appliance used with this job.
snowballType
- The type of appliance used with this job.SnowballType
public void setCreationDate(Date creationDate)
The creation date for this job.
creationDate
- The creation date for this job.public Date getCreationDate()
The creation date for this job.
public JobListEntry withCreationDate(Date creationDate)
The creation date for this job.
creationDate
- The creation date for this job.public void setDescription(String description)
The optional description of this specific job, for example Important Photos 2016-08-11
.
description
- The optional description of this specific job, for example Important Photos 2016-08-11
.public String getDescription()
The optional description of this specific job, for example Important Photos 2016-08-11
.
Important Photos 2016-08-11
.public JobListEntry withDescription(String description)
The optional description of this specific job, for example Important Photos 2016-08-11
.
description
- The optional description of this specific job, for example Important Photos 2016-08-11
.public String toString()
toString
in class Object
Object.toString()
public JobListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.