שתף באמצעות


FunctionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.models.FunctionProperties

Implements

public class FunctionProperties
implements JsonSerializable<FunctionProperties>

The properties that are associated with a function.

Constructor Summary

Constructor Description
FunctionProperties()

Creates an instance of FunctionProperties class.

Method Summary

Modifier and Type Method and Description
FunctionBinding 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 FunctionProperties fromJson(JsonReader jsonReader)

Reads an instance of FunctionProperties from the JsonReader.

List<FunctionInput> inputs()

Get the inputs property: The inputs property.

FunctionOutput output()

Get the output property: Describes the output of a function.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Indicates the type of function.

void validate()

Validates the instance.

FunctionProperties withBinding(FunctionBinding binding)

Set the binding property: The physical binding of the function.

FunctionProperties withInputs(List<FunctionInput> inputs)

Set the inputs property: The inputs property.

FunctionProperties 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:

the binding value.

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:

the etag value.

fromJson

public static FunctionProperties fromJson(JsonReader jsonReader)

Reads an instance of FunctionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FunctionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the FunctionProperties.

inputs

public List<FunctionInput> inputs()

Get the inputs property: The inputs property.

Returns:

the inputs value.

output

public FunctionOutput output()

Get the output property: Describes the output of a function.

Returns:

the output value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Indicates the type of function.

Returns:

the type value.

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:

binding - the binding value to set.

Returns:

the FunctionProperties object itself.

withInputs

public FunctionProperties withInputs(List<FunctionInput> inputs)

Set the inputs property: The inputs property.

Parameters:

inputs - the inputs value to set.

Returns:

the FunctionProperties object itself.

withOutput

public FunctionProperties withOutput(FunctionOutput output)

Set the output property: Describes the output of a function.

Parameters:

output - the output value to set.

Returns:

the FunctionProperties object itself.

Applies to