@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Job extends Object implements Serializable, Cloneable, StructuredPojo
A job is an asynchronous workflow.
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
Job |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Job |
clearTagsEntries()
Removes all the entries added into Tags.
|
Job |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of a Job.
|
String |
getCreationDateTime()
The date and time of when the Job was created.
|
String |
getEndDateTime()
The date and time of when the Job ended.
|
String |
getInitiatedBy()
A string representing who initiated the Job.
|
String |
getJobID()
The ID of the Job.
|
List<ParticipatingResource> |
getParticipatingResources()
A list of resources that the Job is acting upon.
|
List<ParticipatingServer> |
getParticipatingServers()
A list of servers that the Job is acting upon.
|
String |
getStatus()
The status of the Job.
|
Map<String,String> |
getTags()
A list of tags associated with the Job.
|
String |
getType()
The type of the Job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of a Job.
|
void |
setCreationDateTime(String creationDateTime)
The date and time of when the Job was created.
|
void |
setEndDateTime(String endDateTime)
The date and time of when the Job ended.
|
void |
setInitiatedBy(String initiatedBy)
A string representing who initiated the Job.
|
void |
setJobID(String jobID)
The ID of the Job.
|
void |
setParticipatingResources(Collection<ParticipatingResource> participatingResources)
A list of resources that the Job is acting upon.
|
void |
setParticipatingServers(Collection<ParticipatingServer> participatingServers)
A list of servers that the Job is acting upon.
|
void |
setStatus(String status)
The status of the Job.
|
void |
setTags(Map<String,String> tags)
A list of tags associated with the Job.
|
void |
setType(String type)
The type of the Job.
|
String |
toString()
Returns a string representation of this object.
|
Job |
withArn(String arn)
The ARN of a Job.
|
Job |
withCreationDateTime(String creationDateTime)
The date and time of when the Job was created.
|
Job |
withEndDateTime(String endDateTime)
The date and time of when the Job ended.
|
Job |
withInitiatedBy(InitiatedBy initiatedBy)
A string representing who initiated the Job.
|
Job |
withInitiatedBy(String initiatedBy)
A string representing who initiated the Job.
|
Job |
withJobID(String jobID)
The ID of the Job.
|
Job |
withParticipatingResources(Collection<ParticipatingResource> participatingResources)
A list of resources that the Job is acting upon.
|
Job |
withParticipatingResources(ParticipatingResource... participatingResources)
A list of resources that the Job is acting upon.
|
Job |
withParticipatingServers(Collection<ParticipatingServer> participatingServers)
A list of servers that the Job is acting upon.
|
Job |
withParticipatingServers(ParticipatingServer... participatingServers)
A list of servers that the Job is acting upon.
|
Job |
withStatus(JobStatus status)
The status of the Job.
|
Job |
withStatus(String status)
The status of the Job.
|
Job |
withTags(Map<String,String> tags)
A list of tags associated with the Job.
|
Job |
withType(JobType type)
The type of the Job.
|
Job |
withType(String type)
The type of the Job.
|
public void setArn(String arn)
The ARN of a Job.
arn
- The ARN of a Job.public String getArn()
The ARN of a Job.
public Job withArn(String arn)
The ARN of a Job.
arn
- The ARN of a Job.public void setCreationDateTime(String creationDateTime)
The date and time of when the Job was created.
creationDateTime
- The date and time of when the Job was created.public String getCreationDateTime()
The date and time of when the Job was created.
public Job withCreationDateTime(String creationDateTime)
The date and time of when the Job was created.
creationDateTime
- The date and time of when the Job was created.public void setEndDateTime(String endDateTime)
The date and time of when the Job ended.
endDateTime
- The date and time of when the Job ended.public String getEndDateTime()
The date and time of when the Job ended.
public Job withEndDateTime(String endDateTime)
The date and time of when the Job ended.
endDateTime
- The date and time of when the Job ended.public void setInitiatedBy(String initiatedBy)
A string representing who initiated the Job.
initiatedBy
- A string representing who initiated the Job.InitiatedBy
public String getInitiatedBy()
A string representing who initiated the Job.
InitiatedBy
public Job withInitiatedBy(String initiatedBy)
A string representing who initiated the Job.
initiatedBy
- A string representing who initiated the Job.InitiatedBy
public Job withInitiatedBy(InitiatedBy initiatedBy)
A string representing who initiated the Job.
initiatedBy
- A string representing who initiated the Job.InitiatedBy
public void setJobID(String jobID)
The ID of the Job.
jobID
- The ID of the Job.public String getJobID()
The ID of the Job.
public Job withJobID(String jobID)
The ID of the Job.
jobID
- The ID of the Job.public List<ParticipatingResource> getParticipatingResources()
A list of resources that the Job is acting upon.
public void setParticipatingResources(Collection<ParticipatingResource> participatingResources)
A list of resources that the Job is acting upon.
participatingResources
- A list of resources that the Job is acting upon.public Job withParticipatingResources(ParticipatingResource... participatingResources)
A list of resources that the Job is acting upon.
NOTE: This method appends the values to the existing list (if any). Use
setParticipatingResources(java.util.Collection)
or
withParticipatingResources(java.util.Collection)
if you want to override the existing values.
participatingResources
- A list of resources that the Job is acting upon.public Job withParticipatingResources(Collection<ParticipatingResource> participatingResources)
A list of resources that the Job is acting upon.
participatingResources
- A list of resources that the Job is acting upon.public List<ParticipatingServer> getParticipatingServers()
A list of servers that the Job is acting upon.
public void setParticipatingServers(Collection<ParticipatingServer> participatingServers)
A list of servers that the Job is acting upon.
participatingServers
- A list of servers that the Job is acting upon.public Job withParticipatingServers(ParticipatingServer... participatingServers)
A list of servers that the Job is acting upon.
NOTE: This method appends the values to the existing list (if any). Use
setParticipatingServers(java.util.Collection)
or withParticipatingServers(java.util.Collection)
if you want to override the existing values.
participatingServers
- A list of servers that the Job is acting upon.public Job withParticipatingServers(Collection<ParticipatingServer> participatingServers)
A list of servers that the Job is acting upon.
participatingServers
- A list of servers that the Job is acting upon.public void setStatus(String status)
The status of the Job.
status
- The status of the Job.JobStatus
public String getStatus()
The status of the Job.
JobStatus
public Job withStatus(String status)
The status of the Job.
status
- The status of the Job.JobStatus
public Job withStatus(JobStatus status)
The status of the Job.
status
- The status of the Job.JobStatus
public Map<String,String> getTags()
A list of tags associated with the Job.
public void setTags(Map<String,String> tags)
A list of tags associated with the Job.
tags
- A list of tags associated with the Job.public Job withTags(Map<String,String> tags)
A list of tags associated with the Job.
tags
- A list of tags associated with the Job.public Job clearTagsEntries()
public void setType(String type)
The type of the Job.
type
- The type of the Job.JobType
public String getType()
The type of the Job.
JobType
public Job withType(String type)
The type of the Job.
type
- The type of the Job.JobType
public Job withType(JobType type)
The type of the Job.
type
- The type of the Job.JobType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.