שתף באמצעות


FunctionInput Class

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

Implements

public final class FunctionInput
implements JsonSerializable<FunctionInput>

Describes one input parameter of a function.

Constructor Summary

Constructor Description
FunctionInput()

Creates an instance of FunctionInput class.

Method Summary

Modifier and Type Method and Description
String dataType()

Get the dataType property: The (Azure Stream Analytics supported) data type of the function input parameter.

static FunctionInput fromJson(JsonReader jsonReader)

Reads an instance of FunctionInput from the JsonReader.

Boolean isConfigurationParameter()

Get the isConfigurationParameter property: A flag indicating if the parameter is a configuration parameter.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FunctionInput withDataType(String dataType)

Set the dataType property: The (Azure Stream Analytics supported) data type of the function input parameter.

FunctionInput withIsConfigurationParameter(Boolean isConfigurationParameter)

Set the isConfigurationParameter property: A flag indicating if the parameter is a configuration parameter.

Methods inherited from java.lang.Object

Constructor Details

FunctionInput

public FunctionInput()

Creates an instance of FunctionInput class.

Method Details

dataType

public String dataType()

Get the dataType property: The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx.

Returns:

the dataType value.

fromJson

public static FunctionInput fromJson(JsonReader jsonReader)

Reads an instance of FunctionInput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isConfigurationParameter

public Boolean isConfigurationParameter()

Get the isConfigurationParameter property: A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false.

Returns:

the isConfigurationParameter value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDataType

public FunctionInput withDataType(String dataType)

Set the dataType property: The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx.

Parameters:

dataType - the dataType value to set.

Returns:

the FunctionInput object itself.

withIsConfigurationParameter

public FunctionInput withIsConfigurationParameter(Boolean isConfigurationParameter)

Set the isConfigurationParameter property: A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false.

Parameters:

isConfigurationParameter - the isConfigurationParameter value to set.

Returns:

the FunctionInput object itself.

Applies to