public static final class ValidationError.Builder
extends java.lang.Object
ValidationError
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ValidationError . |
Modifier and Type | Method and Description |
---|---|
ValidationError |
build() |
ValidationError.Builder |
setDiscoveredNodeId(java.lang.String discoveredNodeId)
Discovered Node Id
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ValidationError.Builder |
setErrorMessage(java.lang.String errorMessage)
Validation error message
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
ValidationError
.public ValidationError.Builder setDiscoveredNodeId(java.lang.String discoveredNodeId)
discoveredNodeId
- New value for the property.public ValidationError.Builder setErrorMessage(java.lang.String errorMessage)
errorMessage
- New value for the property.public ValidationError build()