AzureMachineLearningWebServiceFunctionBinding Class

public final class AzureMachineLearningWebServiceFunctionBinding
extends FunctionBinding

The binding to an Azure Machine Learning web service.

Constructor Summary

Constructor Description
AzureMachineLearningWebServiceFunctionBinding()

Creates an instance of AzureMachineLearningWebServiceFunctionBinding class.

Method Summary

Modifier and Type Method and Description
String apiKey()

Get the apiKey property: The API key used to authenticate with Request-Response endpoint.

Integer batchSize()

Get the batchSize property: Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request.

String endpoint()

Get the endpoint property: The Request-Response execute endpoint of the Azure Machine Learning web service.

static AzureMachineLearningWebServiceFunctionBinding fromJson(JsonReader jsonReader)

Reads an instance of AzureMachineLearningWebServiceFunctionBinding from the JsonReader.

AzureMachineLearningWebServiceInputs inputs()

Get the inputs property: The inputs for the Azure Machine Learning web service endpoint.

List<AzureMachineLearningWebServiceOutputColumn> outputs()

Get the outputs property: A list of outputs from the Azure Machine Learning web service endpoint execution.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Indicates the function binding type.

void validate()

Validates the instance.

AzureMachineLearningWebServiceFunctionBinding withApiKey(String apiKey)

Set the apiKey property: The API key used to authenticate with Request-Response endpoint.

AzureMachineLearningWebServiceFunctionBinding withBatchSize(Integer batchSize)

Set the batchSize property: Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request.

AzureMachineLearningWebServiceFunctionBinding withEndpoint(String endpoint)

Set the endpoint property: The Request-Response execute endpoint of the Azure Machine Learning web service.

AzureMachineLearningWebServiceFunctionBinding withInputs(AzureMachineLearningWebServiceInputs inputs)

Set the inputs property: The inputs for the Azure Machine Learning web service endpoint.

AzureMachineLearningWebServiceFunctionBinding withOutputs(List<AzureMachineLearningWebServiceOutputColumn> outputs)

Set the outputs property: A list of outputs from the Azure Machine Learning web service endpoint execution.

Methods inherited from FunctionBinding

Methods inherited from java.lang.Object

Constructor Details

AzureMachineLearningWebServiceFunctionBinding

public AzureMachineLearningWebServiceFunctionBinding()

Creates an instance of AzureMachineLearningWebServiceFunctionBinding class.

Method Details

apiKey

public String apiKey()

Get the apiKey property: The API key used to authenticate with Request-Response endpoint.

Returns:

the apiKey value.

batchSize

public Integer batchSize()

Get the batchSize property: Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.

Returns:

the batchSize value.

endpoint

public String endpoint()

Get the endpoint property: The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services\#request-response-service-rrs.

Returns:

the endpoint value.

fromJson

public static AzureMachineLearningWebServiceFunctionBinding fromJson(JsonReader jsonReader)

Reads an instance of AzureMachineLearningWebServiceFunctionBinding from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inputs

public AzureMachineLearningWebServiceInputs inputs()

Get the inputs property: The inputs for the Azure Machine Learning web service endpoint.

Returns:

the inputs value.

outputs

public List<AzureMachineLearningWebServiceOutputColumn> outputs()

Get the outputs property: A list of outputs from the Azure Machine Learning web service endpoint execution.

Returns:

the outputs value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AzureMachineLearningWebServiceFunctionBinding.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Indicates the function binding type.

Overrides:

AzureMachineLearningWebServiceFunctionBinding.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

AzureMachineLearningWebServiceFunctionBinding.validate()

withApiKey

public AzureMachineLearningWebServiceFunctionBinding withApiKey(String apiKey)

Set the apiKey property: The API key used to authenticate with Request-Response endpoint.

Parameters:

apiKey - the apiKey value to set.

Returns:

the AzureMachineLearningWebServiceFunctionBinding object itself.

withBatchSize

public AzureMachineLearningWebServiceFunctionBinding withBatchSize(Integer batchSize)

Set the batchSize property: Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.

Parameters:

batchSize - the batchSize value to set.

Returns:

the AzureMachineLearningWebServiceFunctionBinding object itself.

withEndpoint

public AzureMachineLearningWebServiceFunctionBinding withEndpoint(String endpoint)

Set the endpoint property: The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services\#request-response-service-rrs.

Parameters:

endpoint - the endpoint value to set.

Returns:

the AzureMachineLearningWebServiceFunctionBinding object itself.

withInputs

public AzureMachineLearningWebServiceFunctionBinding withInputs(AzureMachineLearningWebServiceInputs inputs)

Set the inputs property: The inputs for the Azure Machine Learning web service endpoint.

Parameters:

inputs - the inputs value to set.

Returns:

the AzureMachineLearningWebServiceFunctionBinding object itself.

withOutputs

public AzureMachineLearningWebServiceFunctionBinding withOutputs(List<AzureMachineLearningWebServiceOutputColumn> outputs)

Set the outputs property: A list of outputs from the Azure Machine Learning web service endpoint execution.

Parameters:

outputs - the outputs value to set.

Returns:

the AzureMachineLearningWebServiceFunctionBinding object itself.

Applies to