Partager via


AzureMachineLearningWebServiceInputColumn Class

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

Implements

public final class AzureMachineLearningWebServiceInputColumn
implements JsonSerializable<AzureMachineLearningWebServiceInputColumn>

Describes an input column for the Azure Machine Learning web service endpoint.

Constructor Summary

Constructor Description
AzureMachineLearningWebServiceInputColumn()

Creates an instance of AzureMachineLearningWebServiceInputColumn class.

Method Summary

Modifier and Type Method and Description
String dataType()

Get the dataType property: The (Azure Machine Learning supported) data type of the input column.

static AzureMachineLearningWebServiceInputColumn fromJson(JsonReader jsonReader)

Reads an instance of AzureMachineLearningWebServiceInputColumn from the JsonReader.

Integer mapTo()

Get the mapTo property: The zero based index of the function parameter this input maps to.

String name()

Get the name property: The name of the input column.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureMachineLearningWebServiceInputColumn withDataType(String dataType)

Set the dataType property: The (Azure Machine Learning supported) data type of the input column.

AzureMachineLearningWebServiceInputColumn withMapTo(Integer mapTo)

Set the mapTo property: The zero based index of the function parameter this input maps to.

AzureMachineLearningWebServiceInputColumn withName(String name)

Set the name property: The name of the input column.

Methods inherited from java.lang.Object

Constructor Details

AzureMachineLearningWebServiceInputColumn

public AzureMachineLearningWebServiceInputColumn()

Creates an instance of AzureMachineLearningWebServiceInputColumn class.

Method Details

dataType

public String dataType()

Get the dataType property: The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx .

Returns:

the dataType value.

fromJson

public static AzureMachineLearningWebServiceInputColumn fromJson(JsonReader jsonReader)

Reads an instance of AzureMachineLearningWebServiceInputColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

mapTo

public Integer mapTo()

Get the mapTo property: The zero based index of the function parameter this input maps to.

Returns:

the mapTo value.

name

public String name()

Get the name property: The name of the input column.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDataType

public AzureMachineLearningWebServiceInputColumn withDataType(String dataType)

Set the dataType property: The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx .

Parameters:

dataType - the dataType value to set.

Returns:

the AzureMachineLearningWebServiceInputColumn object itself.

withMapTo

public AzureMachineLearningWebServiceInputColumn withMapTo(Integer mapTo)

Set the mapTo property: The zero based index of the function parameter this input maps to.

Parameters:

mapTo - the mapTo value to set.

Returns:

the AzureMachineLearningWebServiceInputColumn object itself.

withName

public AzureMachineLearningWebServiceInputColumn withName(String name)

Set the name property: The name of the input column.

Parameters:

name - the name value to set.

Returns:

the AzureMachineLearningWebServiceInputColumn object itself.

Applies to