Class AzureMachineLearningWebServiceFunctionBinding
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.FunctionBinding
-
- com.azure.resourcemanager.streamanalytics.models.AzureMachineLearningWebServiceFunctionBinding
-
public final class AzureMachineLearningWebServiceFunctionBinding extends FunctionBinding
The binding to an Azure Machine Learning web service.
-
-
Constructor Summary
Constructors Constructor Description AzureMachineLearningWebServiceFunctionBinding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.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.
-
-
-
Method Detail
-
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.
-
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.
-
apiKey
public String apiKey()
Get the apiKey property: The API key used to authenticate with Request-Response endpoint.- Returns:
- the apiKey value.
-
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.
-
inputs
public AzureMachineLearningWebServiceInputs inputs()
Get the inputs property: The inputs for the Azure Machine Learning web service endpoint.- Returns:
- the inputs value.
-
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.
-
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.
-
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.
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classFunctionBinding
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-