public class ValidationError
extends java.lang.Object
implements java.io.Serializable
Information about an error found in a behavior specification.
| Constructor and Description |
|---|
ValidationError() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getErrorMessage()
The description of an error found in the behaviors.
|
int |
hashCode() |
void |
setErrorMessage(java.lang.String errorMessage)
The description of an error found in the behaviors.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ValidationError |
withErrorMessage(java.lang.String errorMessage)
The description of an error found in the behaviors.
|
public java.lang.String getErrorMessage()
The description of an error found in the behaviors.
Constraints:
Length: - 2048
The description of an error found in the behaviors.
public void setErrorMessage(java.lang.String errorMessage)
The description of an error found in the behaviors.
Constraints:
Length: - 2048
errorMessage - The description of an error found in the behaviors.
public ValidationError withErrorMessage(java.lang.String errorMessage)
The description of an error found in the behaviors.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
errorMessage - The description of an error found in the behaviors.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.