@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidationError extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ValidationError() |
Modifier and Type | Method and Description |
---|---|
ValidationError |
clone() |
boolean |
equals(Object obj) |
String |
getElementPath()
Path to the source of the error.
|
String |
getErrorMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setElementPath(String elementPath)
Path to the source of the error.
|
void |
setErrorMessage(String errorMessage)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
ValidationError |
withElementPath(String elementPath)
Path to the source of the error.
|
ValidationError |
withErrorMessage(String errorMessage)
The error message.
|
public void setElementPath(String elementPath)
elementPath
- Path to the source of the error.public String getElementPath()
public ValidationError withElementPath(String elementPath)
elementPath
- Path to the source of the error.public void setErrorMessage(String errorMessage)
errorMessage
- The error message.public String getErrorMessage()
public ValidationError withErrorMessage(String errorMessage)
errorMessage
- The error message.public String toString()
toString
in class Object
Object.toString()
public ValidationError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.