@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MediaAnalysisJobFailureDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about the error that resulted in failure of the job.
| Constructor and Description |
|---|
MediaAnalysisJobFailureDetails() |
| Modifier and Type | Method and Description |
|---|---|
MediaAnalysisJobFailureDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
Error code for the failed job.
|
String |
getMessage()
Human readable error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
Error code for the failed job.
|
void |
setMessage(String message)
Human readable error message.
|
String |
toString()
Returns a string representation of this object.
|
MediaAnalysisJobFailureDetails |
withCode(MediaAnalysisJobFailureCode code)
Error code for the failed job.
|
MediaAnalysisJobFailureDetails |
withCode(String code)
Error code for the failed job.
|
MediaAnalysisJobFailureDetails |
withMessage(String message)
Human readable error message.
|
public void setCode(String code)
Error code for the failed job.
code - Error code for the failed job.MediaAnalysisJobFailureCodepublic String getCode()
Error code for the failed job.
MediaAnalysisJobFailureCodepublic MediaAnalysisJobFailureDetails withCode(String code)
Error code for the failed job.
code - Error code for the failed job.MediaAnalysisJobFailureCodepublic MediaAnalysisJobFailureDetails withCode(MediaAnalysisJobFailureCode code)
Error code for the failed job.
code - Error code for the failed job.MediaAnalysisJobFailureCodepublic void setMessage(String message)
Human readable error message.
message - Human readable error message.public String getMessage()
Human readable error message.
public MediaAnalysisJobFailureDetails withMessage(String message)
Human readable error message.
message - Human readable error message.public String toString()
toString in class ObjectObject.toString()public MediaAnalysisJobFailureDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.