Class ScalarFunctionConfiguration


  • public final class ScalarFunctionConfiguration
    extends Object
    Describes the configuration of the scalar function.
    • Constructor Detail

      • ScalarFunctionConfiguration

        public ScalarFunctionConfiguration()
    • Method Detail

      • inputs

        public List<FunctionInput> inputs()
        Get the inputs property: A list of inputs describing the parameters of the function.
        Returns:
        the inputs value.
      • withInputs

        public ScalarFunctionConfiguration withInputs​(List<FunctionInput> inputs)
        Set the inputs property: A list of inputs describing the parameters of the function.
        Parameters:
        inputs - the inputs value to set.
        Returns:
        the ScalarFunctionConfiguration object itself.
      • output

        public FunctionOutput output()
        Get the output property: The output of the function.
        Returns:
        the output value.
      • withOutput

        public ScalarFunctionConfiguration withOutput​(FunctionOutput output)
        Set the output property: The output of the function.
        Parameters:
        output - the output value to set.
        Returns:
        the ScalarFunctionConfiguration object itself.
      • binding

        public FunctionBinding binding()
        Get the binding property: The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint.
        Returns:
        the binding value.
      • withBinding

        public ScalarFunctionConfiguration withBinding​(FunctionBinding binding)
        Set the binding property: The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint.
        Parameters:
        binding - the binding value to set.
        Returns:
        the ScalarFunctionConfiguration object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.