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

com.pulumi.azurenative.machinelearningservices.ComponentVersionArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ComponentVersionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ComponentVersionArgs Empty = new ComponentVersionArgs();

    /**
     * [Required] Additional attributes of the entity.
     * 
     */
    @Import(name="componentVersionProperties", required=true)
    private Output componentVersionProperties;

    /**
     * @return [Required] Additional attributes of the entity.
     * 
     */
    public Output componentVersionProperties() {
        return this.componentVersionProperties;
    }

    /**
     * Container name.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Container name.
     * 
     */
    public Output name() {
        return this.name;
    }

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

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

    /**
     * Version identifier.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Version identifier.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

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

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

    private ComponentVersionArgs() {}

    private ComponentVersionArgs(ComponentVersionArgs $) {
        this.componentVersionProperties = $.componentVersionProperties;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.version = $.version;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private ComponentVersionArgs $;

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

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

        /**
         * @param componentVersionProperties [Required] Additional attributes of the entity.
         * 
         * @return builder
         * 
         */
        public Builder componentVersionProperties(Output componentVersionProperties) {
            $.componentVersionProperties = componentVersionProperties;
            return this;
        }

        /**
         * @param componentVersionProperties [Required] Additional attributes of the entity.
         * 
         * @return builder
         * 
         */
        public Builder componentVersionProperties(com.pulumi.azurenative.machinelearningservices.inputs.ComponentVersionArgs componentVersionProperties) {
            return componentVersionProperties(Output.of(componentVersionProperties));
        }

        /**
         * @param name Container name.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Container name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

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

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

        /**
         * @param version Version identifier.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Version identifier.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

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

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

        public ComponentVersionArgs build() {
            if ($.componentVersionProperties == null) {
                throw new MissingRequiredPropertyException("ComponentVersionArgs", "componentVersionProperties");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ComponentVersionArgs", "name");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ComponentVersionArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("ComponentVersionArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy