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

com.pulumi.azurenative.machinelearningservices.inputs.GetOnlineDeploymentPlainArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.machinelearningservices.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetOnlineDeploymentPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetOnlineDeploymentPlainArgs Empty = new GetOnlineDeploymentPlainArgs();

    /**
     * Inference Endpoint Deployment name.
     * 
     */
    @Import(name="deploymentName", required=true)
    private String deploymentName;

    /**
     * @return Inference Endpoint Deployment name.
     * 
     */
    public String deploymentName() {
        return this.deploymentName;
    }

    /**
     * Inference endpoint name.
     * 
     */
    @Import(name="endpointName", required=true)
    private String endpointName;

    /**
     * @return Inference endpoint name.
     * 
     */
    public String endpointName() {
        return this.endpointName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Name of Azure Machine Learning workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private String workspaceName;

    /**
     * @return Name of Azure Machine Learning workspace.
     * 
     */
    public String workspaceName() {
        return this.workspaceName;
    }

    private GetOnlineDeploymentPlainArgs() {}

    private GetOnlineDeploymentPlainArgs(GetOnlineDeploymentPlainArgs $) {
        this.deploymentName = $.deploymentName;
        this.endpointName = $.endpointName;
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private GetOnlineDeploymentPlainArgs $;

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

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

        /**
         * @param deploymentName Inference Endpoint Deployment name.
         * 
         * @return builder
         * 
         */
        public Builder deploymentName(String deploymentName) {
            $.deploymentName = deploymentName;
            return this;
        }

        /**
         * @param endpointName Inference endpoint name.
         * 
         * @return builder
         * 
         */
        public Builder endpointName(String endpointName) {
            $.endpointName = endpointName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param workspaceName Name of Azure Machine Learning workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        public GetOnlineDeploymentPlainArgs build() {
            if ($.deploymentName == null) {
                throw new MissingRequiredPropertyException("GetOnlineDeploymentPlainArgs", "deploymentName");
            }
            if ($.endpointName == null) {
                throw new MissingRequiredPropertyException("GetOnlineDeploymentPlainArgs", "endpointName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetOnlineDeploymentPlainArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("GetOnlineDeploymentPlainArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy