@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetail extends Object implements Serializable, Cloneable, StructuredPojo
Contains the list of errors generated. When using JavaScript, this will apply to the request or response function evaluation.
Constructor and Description |
---|
ErrorDetail() |
Modifier and Type | Method and Description |
---|---|
ErrorDetail |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The error payload.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
The error payload.
|
String |
toString()
Returns a string representation of this object.
|
ErrorDetail |
withMessage(String message)
The error payload.
|
public void setMessage(String message)
The error payload.
message
- The error payload.public String getMessage()
The error payload.
public ErrorDetail withMessage(String message)
The error payload.
message
- The error payload.public String toString()
toString
in class Object
Object.toString()
public ErrorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.