FunctionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. FunctionProperties
- com.
Implements
public class FunctionProperties
implements JsonSerializable<FunctionProperties>
The properties that are associated with a function.
Constructor Summary
| Constructor | Description |
|---|---|
| FunctionProperties() |
Creates an instance of Function |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Function |
binding()
Get the binding property: The physical binding of the function. |
| String |
etag()
Get the etag property: The current entity tag for the function. |
|
static
Function |
fromJson(JsonReader jsonReader)
Reads an instance of Function |
|
List<Function |
inputs()
Get the inputs property: The inputs property. |
|
Function |
output()
Get the output property: Describes the output of a function. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Indicates the type of function. |
| void |
validate()
Validates the instance. |
|
Function |
withBinding(FunctionBinding binding)
Set the binding property: The physical binding of the function. |
|
Function |
withInputs(List<FunctionInput> inputs)
Set the inputs property: The inputs property. |
|
Function |
withOutput(FunctionOutput output)
Set the output property: Describes the output of a function. |
Methods inherited from java.lang.Object
Constructor Details
FunctionProperties
public FunctionProperties()
Creates an instance of FunctionProperties class.
Method Details
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:
etag
public String etag()
Get the etag property: The current entity tag for the function. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
Returns:
fromJson
public static FunctionProperties fromJson(JsonReader jsonReader)
Reads an instance of FunctionProperties from the JsonReader.
Parameters:
Returns:
Throws:
inputs
public List<FunctionInput> inputs()
Get the inputs property: The inputs property.
Returns:
output
public FunctionOutput output()
Get the output property: Describes the output of a function.
Returns:
toJson
type
public String type()
Get the type property: Indicates the type of function.
Returns:
validate
public void validate()
Validates the instance.
withBinding
public FunctionProperties 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:
Returns:
withInputs
public FunctionProperties withInputs(List<FunctionInput> inputs)
Set the inputs property: The inputs property.
Parameters:
Returns:
withOutput
public FunctionProperties withOutput(FunctionOutput output)
Set the output property: Describes the output of a function.
Parameters:
Returns: