@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.MediaAnalysisJobFailureCode
public String getCode()
Error code for the failed job.
MediaAnalysisJobFailureCode
public MediaAnalysisJobFailureDetails withCode(String code)
Error code for the failed job.
code
- Error code for the failed job.MediaAnalysisJobFailureCode
public MediaAnalysisJobFailureDetails withCode(MediaAnalysisJobFailureCode code)
Error code for the failed job.
code
- Error code for the failed job.MediaAnalysisJobFailureCode
public 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 Object
Object.toString()
public MediaAnalysisJobFailureDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.