Class ValidationError.Builder

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of ValidationError.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of ValidationError.
    • Method Detail

      • setDiscoveredNodeId

        public 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.
        Parameters:
        discoveredNodeId - New value for the property.
      • setErrorMessage

        public 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.
        Parameters:
        errorMessage - New value for the property.