FunctionConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.fluent.models.FunctionConfiguration

Implements

public final class FunctionConfiguration
implements JsonSerializable<FunctionConfiguration>

The FunctionConfiguration model.

Constructor Summary

Constructor Description
FunctionConfiguration()

Creates an instance of FunctionConfiguration class.

Method Summary

Modifier and Type Method and Description
FunctionBinding binding()

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

static FunctionConfiguration fromJson(JsonReader jsonReader)

Reads an instance of FunctionConfiguration 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)
void validate()

Validates the instance.

FunctionConfiguration withBinding(FunctionBinding binding)

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

FunctionConfiguration withInputs(List<FunctionInput> inputs)

Set the inputs property: The inputs property.

FunctionConfiguration withOutput(FunctionOutput output)

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

Methods inherited from java.lang.Object

Constructor Details

FunctionConfiguration

public FunctionConfiguration()

Creates an instance of FunctionConfiguration 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.

fromJson

public static FunctionConfiguration fromJson(JsonReader jsonReader)

Reads an instance of FunctionConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FunctionConfiguration 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 FunctionConfiguration.

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:

validate

public void validate()

Validates the instance.

withBinding

public FunctionConfiguration 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 FunctionConfiguration object itself.

withInputs

public FunctionConfiguration withInputs(List<FunctionInput> inputs)

Set the inputs property: The inputs property.

Parameters:

inputs - the inputs value to set.

Returns:

the FunctionConfiguration object itself.

withOutput

public FunctionConfiguration withOutput(FunctionOutput output)

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

Parameters:

output - the output value to set.

Returns:

the FunctionConfiguration object itself.

Applies to