AzureMachineLearningStudioFunctionBinding Class

public final class AzureMachineLearningStudioFunctionBinding
extends FunctionBinding

The binding to an Azure Machine Learning Studio.

Constructor Summary

Constructor Description
AzureMachineLearningStudioFunctionBinding()

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

static AzureMachineLearningStudioFunctionBinding fromJson(JsonReader jsonReader)

Reads an instance of AzureMachineLearningStudioFunctionBinding from the JsonReader.

AzureMachineLearningStudioInputs inputs()

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

List<AzureMachineLearningStudioOutputColumn> outputs()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Indicates the function binding type.

void validate()

Validates the instance.

AzureMachineLearningStudioFunctionBinding withApiKey(String apiKey)

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

AzureMachineLearningStudioFunctionBinding withBatchSize(Integer batchSize)

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

AzureMachineLearningStudioFunctionBinding withEndpoint(String endpoint)

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

AzureMachineLearningStudioFunctionBinding withInputs(AzureMachineLearningStudioInputs inputs)

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

AzureMachineLearningStudioFunctionBinding withOutputs(List<AzureMachineLearningStudioOutputColumn> outputs)

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

Methods inherited from FunctionBinding

Methods inherited from java.lang.Object

Constructor Details

AzureMachineLearningStudioFunctionBinding

public AzureMachineLearningStudioFunctionBinding()

Creates an instance of AzureMachineLearningStudioFunctionBinding 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 Studio. 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 AzureMachineLearningStudioFunctionBinding fromJson(JsonReader jsonReader)

Reads an instance of AzureMachineLearningStudioFunctionBinding from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inputs

public AzureMachineLearningStudioInputs inputs()

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

Returns:

the inputs value.

outputs

public List<AzureMachineLearningStudioOutputColumn> outputs()

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

Returns:

the outputs value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AzureMachineLearningStudioFunctionBinding.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Indicates the function binding type.

Overrides:

AzureMachineLearningStudioFunctionBinding.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

AzureMachineLearningStudioFunctionBinding.validate()

withApiKey

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

withBatchSize

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

withEndpoint

public AzureMachineLearningStudioFunctionBinding withEndpoint(String endpoint)

Set the endpoint property: The Request-Response execute endpoint of the Azure Machine Learning Studio. 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 AzureMachineLearningStudioFunctionBinding object itself.

withInputs

public AzureMachineLearningStudioFunctionBinding withInputs(AzureMachineLearningStudioInputs inputs)

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

Parameters:

inputs - the inputs value to set.

Returns:

the AzureMachineLearningStudioFunctionBinding object itself.

withOutputs

public AzureMachineLearningStudioFunctionBinding withOutputs(List<AzureMachineLearningStudioOutputColumn> outputs)

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

Parameters:

outputs - the outputs value to set.

Returns:

the AzureMachineLearningStudioFunctionBinding object itself.

Applies to