@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobFailure extends Object implements Serializable, Cloneable
If this job failed, this element indicates why the job failed.
Constructor and Description |
---|
JobFailure() |
Modifier and Type | Method and Description |
---|---|
JobFailure |
clone() |
boolean |
equals(Object obj) |
String |
getFailureCode()
The failure code, if any, for the specified job.
|
String |
getFailureReason()
The failure reason, if any, for the specified job.
|
int |
hashCode() |
void |
setFailureCode(String failureCode)
The failure code, if any, for the specified job.
|
void |
setFailureReason(String failureReason)
The failure reason, if any, for the specified job.
|
String |
toString()
Returns a string representation of this object.
|
JobFailure |
withFailureCode(String failureCode)
The failure code, if any, for the specified job.
|
JobFailure |
withFailureReason(String failureReason)
The failure reason, if any, for the specified job.
|
public void setFailureCode(String failureCode)
The failure code, if any, for the specified job.
failureCode
- The failure code, if any, for the specified job.public String getFailureCode()
The failure code, if any, for the specified job.
public JobFailure withFailureCode(String failureCode)
The failure code, if any, for the specified job.
failureCode
- The failure code, if any, for the specified job.public void setFailureReason(String failureReason)
The failure reason, if any, for the specified job.
failureReason
- The failure reason, if any, for the specified job.public String getFailureReason()
The failure reason, if any, for the specified job.
public JobFailure withFailureReason(String failureReason)
The failure reason, if any, for the specified job.
failureReason
- The failure reason, if any, for the specified job.public String toString()
toString
in class Object
Object.toString()
public JobFailure clone()