Class ScalarFunctionProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.FunctionProperties
-
- com.azure.resourcemanager.streamanalytics.models.ScalarFunctionProperties
-
public final class ScalarFunctionProperties extends FunctionProperties
The properties that are associated with a scalar function.
-
-
Constructor Summary
Constructors Constructor Description ScalarFunctionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionBinding
binding()
Get the binding property: The physical binding of the function.List<FunctionInput>
inputs()
Get the inputs property: A list of inputs describing the parameters of the function.FunctionOutput
output()
Get the output property: The output of the function.void
validate()
Validates the instance.ScalarFunctionProperties
withBinding(FunctionBinding binding)
Set the binding property: The physical binding of the function.ScalarFunctionProperties
withInputs(List<FunctionInput> inputs)
Set the inputs property: A list of inputs describing the parameters of the function.ScalarFunctionProperties
withOutput(FunctionOutput output)
Set the output property: The output of the function.-
Methods inherited from class com.azure.resourcemanager.streamanalytics.models.FunctionProperties
etag
-
-
-
-
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 ScalarFunctionProperties 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 ScalarFunctionProperties object itself.
-
output
public FunctionOutput output()
Get the output property: The output of the function.- Returns:
- the output value.
-
withOutput
public ScalarFunctionProperties withOutput(FunctionOutput output)
Set the output property: The output of the function.- Parameters:
output
- the output value to set.- Returns:
- the ScalarFunctionProperties 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 ScalarFunctionProperties 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 ScalarFunctionProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classFunctionProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-