public class AcknowledgeJobResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of an acknowledge job action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
status
Whether the job worker has received the specified job.
|
Constructor and Description |
---|
AcknowledgeJobResult() |
Modifier and Type | Method and Description |
---|---|
AcknowledgeJobResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStatus()
Whether the job worker has received the specified job.
|
int |
hashCode() |
void |
setStatus(JobStatus status)
Whether the job worker has received the specified job.
|
void |
setStatus(java.lang.String status)
Whether the job worker has received the specified job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AcknowledgeJobResult |
withStatus(JobStatus status)
Whether the job worker has received the specified job.
|
AcknowledgeJobResult |
withStatus(java.lang.String status)
Whether the job worker has received the specified job.
|
private java.lang.String status
Whether the job worker has received the specified job.
public void setStatus(java.lang.String status)
Whether the job worker has received the specified job.
status
- Whether the job worker has received the specified job.JobStatus
public java.lang.String getStatus()
Whether the job worker has received the specified job.
JobStatus
public AcknowledgeJobResult withStatus(java.lang.String status)
Whether the job worker has received the specified job.
status
- Whether the job worker has received the specified job.JobStatus
public void setStatus(JobStatus status)
Whether the job worker has received the specified job.
status
- Whether the job worker has received the specified job.JobStatus
public AcknowledgeJobResult withStatus(JobStatus status)
Whether the job worker has received the specified job.
status
- Whether the job worker has received the specified job.JobStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AcknowledgeJobResult clone()
clone
in class java.lang.Object