All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.streamanalytics.inputs.AzureMachineLearningWebServiceFunctionBindingArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.streamanalytics.inputs;

import com.pulumi.azurenative.streamanalytics.inputs.AzureMachineLearningWebServiceInputsArgs;
import com.pulumi.azurenative.streamanalytics.inputs.AzureMachineLearningWebServiceOutputColumnArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The binding to an Azure Machine Learning web service.
 * 
 */
public final class AzureMachineLearningWebServiceFunctionBindingArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureMachineLearningWebServiceFunctionBindingArgs Empty = new AzureMachineLearningWebServiceFunctionBindingArgs();

    /**
     * The API key used to authenticate with Request-Response endpoint.
     * 
     */
    @Import(name="apiKey")
    private @Nullable Output apiKey;

    /**
     * @return The API key used to authenticate with Request-Response endpoint.
     * 
     */
    public Optional> apiKey() {
        return Optional.ofNullable(this.apiKey);
    }

    /**
     * Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.
     * 
     */
    @Import(name="batchSize")
    private @Nullable Output batchSize;

    /**
     * @return Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.
     * 
     */
    public Optional> batchSize() {
        return Optional.ofNullable(this.batchSize);
    }

    /**
     * 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
     * 
     */
    @Import(name="endpoint")
    private @Nullable Output endpoint;

    /**
     * @return 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
     * 
     */
    public Optional> endpoint() {
        return Optional.ofNullable(this.endpoint);
    }

    /**
     * The inputs for the Azure Machine Learning web service endpoint.
     * 
     */
    @Import(name="inputs")
    private @Nullable Output inputs;

    /**
     * @return The inputs for the Azure Machine Learning web service endpoint.
     * 
     */
    public Optional> inputs() {
        return Optional.ofNullable(this.inputs);
    }

    /**
     * A list of outputs from the Azure Machine Learning web service endpoint execution.
     * 
     */
    @Import(name="outputs")
    private @Nullable Output> outputs;

    /**
     * @return A list of outputs from the Azure Machine Learning web service endpoint execution.
     * 
     */
    public Optional>> outputs() {
        return Optional.ofNullable(this.outputs);
    }

    /**
     * Indicates the function binding type.
     * Expected value is 'Microsoft.MachineLearning/WebService'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Indicates the function binding type.
     * Expected value is 'Microsoft.MachineLearning/WebService'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private AzureMachineLearningWebServiceFunctionBindingArgs() {}

    private AzureMachineLearningWebServiceFunctionBindingArgs(AzureMachineLearningWebServiceFunctionBindingArgs $) {
        this.apiKey = $.apiKey;
        this.batchSize = $.batchSize;
        this.endpoint = $.endpoint;
        this.inputs = $.inputs;
        this.outputs = $.outputs;
        this.type = $.type;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(AzureMachineLearningWebServiceFunctionBindingArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private AzureMachineLearningWebServiceFunctionBindingArgs $;

        public Builder() {
            $ = new AzureMachineLearningWebServiceFunctionBindingArgs();
        }

        public Builder(AzureMachineLearningWebServiceFunctionBindingArgs defaults) {
            $ = new AzureMachineLearningWebServiceFunctionBindingArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param apiKey The API key used to authenticate with Request-Response endpoint.
         * 
         * @return builder
         * 
         */
        public Builder apiKey(@Nullable Output apiKey) {
            $.apiKey = apiKey;
            return this;
        }

        /**
         * @param apiKey The API key used to authenticate with Request-Response endpoint.
         * 
         * @return builder
         * 
         */
        public Builder apiKey(String apiKey) {
            return apiKey(Output.of(apiKey));
        }

        /**
         * @param batchSize Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.
         * 
         * @return builder
         * 
         */
        public Builder batchSize(@Nullable Output batchSize) {
            $.batchSize = batchSize;
            return this;
        }

        /**
         * @param batchSize Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000.
         * 
         * @return builder
         * 
         */
        public Builder batchSize(Integer batchSize) {
            return batchSize(Output.of(batchSize));
        }

        /**
         * @param endpoint 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
         * 
         * @return builder
         * 
         */
        public Builder endpoint(@Nullable Output endpoint) {
            $.endpoint = endpoint;
            return this;
        }

        /**
         * @param endpoint 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
         * 
         * @return builder
         * 
         */
        public Builder endpoint(String endpoint) {
            return endpoint(Output.of(endpoint));
        }

        /**
         * @param inputs The inputs for the Azure Machine Learning web service endpoint.
         * 
         * @return builder
         * 
         */
        public Builder inputs(@Nullable Output inputs) {
            $.inputs = inputs;
            return this;
        }

        /**
         * @param inputs The inputs for the Azure Machine Learning web service endpoint.
         * 
         * @return builder
         * 
         */
        public Builder inputs(AzureMachineLearningWebServiceInputsArgs inputs) {
            return inputs(Output.of(inputs));
        }

        /**
         * @param outputs A list of outputs from the Azure Machine Learning web service endpoint execution.
         * 
         * @return builder
         * 
         */
        public Builder outputs(@Nullable Output> outputs) {
            $.outputs = outputs;
            return this;
        }

        /**
         * @param outputs A list of outputs from the Azure Machine Learning web service endpoint execution.
         * 
         * @return builder
         * 
         */
        public Builder outputs(List outputs) {
            return outputs(Output.of(outputs));
        }

        /**
         * @param outputs A list of outputs from the Azure Machine Learning web service endpoint execution.
         * 
         * @return builder
         * 
         */
        public Builder outputs(AzureMachineLearningWebServiceOutputColumnArgs... outputs) {
            return outputs(List.of(outputs));
        }

        /**
         * @param type Indicates the function binding type.
         * Expected value is 'Microsoft.MachineLearning/WebService'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Indicates the function binding type.
         * Expected value is 'Microsoft.MachineLearning/WebService'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public AzureMachineLearningWebServiceFunctionBindingArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy