@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Job extends Object implements Serializable, Cloneable, StructuredPojo
Job.
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 the specific Job.
|
String |
getCreationDateTime()
Job creation time.
|
String |
getEndDateTime()
Job end time.
|
String |
getInitiatedBy()
Job initiated by field.
|
String |
getJobID()
Job ID.
|
List<ParticipatingServer> |
getParticipatingServers()
Servers participating in a specific Job.
|
String |
getStatus()
Job status.
|
Map<String,String> |
getTags()
Tags associated with specific Job.
|
String |
getType()
Job type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
the ARN of the specific Job.
|
void |
setCreationDateTime(String creationDateTime)
Job creation time.
|
void |
setEndDateTime(String endDateTime)
Job end time.
|
void |
setInitiatedBy(String initiatedBy)
Job initiated by field.
|
void |
setJobID(String jobID)
Job ID.
|
void |
setParticipatingServers(Collection<ParticipatingServer> participatingServers)
Servers participating in a specific Job.
|
void |
setStatus(String status)
Job status.
|
void |
setTags(Map<String,String> tags)
Tags associated with specific Job.
|
void |
setType(String type)
Job type.
|
String |
toString()
Returns a string representation of this object.
|
Job |
withArn(String arn)
the ARN of the specific Job.
|
Job |
withCreationDateTime(String creationDateTime)
Job creation time.
|
Job |
withEndDateTime(String endDateTime)
Job end time.
|
Job |
withInitiatedBy(InitiatedBy initiatedBy)
Job initiated by field.
|
Job |
withInitiatedBy(String initiatedBy)
Job initiated by field.
|
Job |
withJobID(String jobID)
Job ID.
|
Job |
withParticipatingServers(Collection<ParticipatingServer> participatingServers)
Servers participating in a specific Job.
|
Job |
withParticipatingServers(ParticipatingServer... participatingServers)
Servers participating in a specific Job.
|
Job |
withStatus(JobStatus status)
Job status.
|
Job |
withStatus(String status)
Job status.
|
Job |
withTags(Map<String,String> tags)
Tags associated with specific Job.
|
Job |
withType(JobType type)
Job type.
|
Job |
withType(String type)
Job type.
|
public void setArn(String arn)
the ARN of the specific Job.
arn
- the ARN of the specific Job.public String getArn()
the ARN of the specific Job.
public Job withArn(String arn)
the ARN of the specific Job.
arn
- the ARN of the specific Job.public void setCreationDateTime(String creationDateTime)
Job creation time.
creationDateTime
- Job creation time.public String getCreationDateTime()
Job creation time.
public Job withCreationDateTime(String creationDateTime)
Job creation time.
creationDateTime
- Job creation time.public void setEndDateTime(String endDateTime)
Job end time.
endDateTime
- Job end time.public String getEndDateTime()
Job end time.
public Job withEndDateTime(String endDateTime)
Job end time.
endDateTime
- Job end time.public void setInitiatedBy(String initiatedBy)
Job initiated by field.
initiatedBy
- Job initiated by field.InitiatedBy
public String getInitiatedBy()
Job initiated by field.
InitiatedBy
public Job withInitiatedBy(String initiatedBy)
Job initiated by field.
initiatedBy
- Job initiated by field.InitiatedBy
public Job withInitiatedBy(InitiatedBy initiatedBy)
Job initiated by field.
initiatedBy
- Job initiated by field.InitiatedBy
public void setJobID(String jobID)
Job ID.
jobID
- Job ID.public String getJobID()
Job ID.
public Job withJobID(String jobID)
Job ID.
jobID
- Job ID.public List<ParticipatingServer> getParticipatingServers()
Servers participating in a specific Job.
public void setParticipatingServers(Collection<ParticipatingServer> participatingServers)
Servers participating in a specific Job.
participatingServers
- Servers participating in a specific Job.public Job withParticipatingServers(ParticipatingServer... participatingServers)
Servers participating in a specific Job.
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
- Servers participating in a specific Job.public Job withParticipatingServers(Collection<ParticipatingServer> participatingServers)
Servers participating in a specific Job.
participatingServers
- Servers participating in a specific Job.public void setStatus(String status)
Job status.
status
- Job status.JobStatus
public Job withStatus(String status)
Job status.
status
- Job status.JobStatus
public Job withStatus(JobStatus status)
Job status.
status
- Job status.JobStatus
public Map<String,String> getTags()
Tags associated with specific Job.
public void setTags(Map<String,String> tags)
Tags associated with specific Job.
tags
- Tags associated with specific Job.public Job withTags(Map<String,String> tags)
Tags associated with specific Job.
tags
- Tags associated with specific Job.public Job clearTagsEntries()
public Job withType(String type)
Job type.
type
- Job type.JobType
public Job withType(JobType type)
Job type.
type
- Job type.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.