Interface ValidationError.Builder

    • Method Detail

      • code

        ValidationError.Builder code​(String code)

        The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.

        Parameters:
        code - The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        ValidationError.Builder message​(String message)

        The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.

        Parameters:
        message - The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.