Class AzureMachineLearningWebServiceFunctionBindingProperties


  • public final class AzureMachineLearningWebServiceFunctionBindingProperties
    extends Object
    The binding properties associated with an Azure Machine learning web service.
    • Constructor Detail

      • AzureMachineLearningWebServiceFunctionBindingProperties

        public AzureMachineLearningWebServiceFunctionBindingProperties()
    • 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 AzureMachineLearningWebServiceFunctionBindingProperties 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 AzureMachineLearningWebServiceFunctionBindingProperties 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 AzureMachineLearningWebServiceFunctionBindingProperties 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 AzureMachineLearningWebServiceFunctionBindingProperties 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 AzureMachineLearningWebServiceFunctionBindingProperties 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 AzureMachineLearningWebServiceFunctionBindingProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.