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

com.pulumi.azurenative.machinelearningservices.DataContainerArgs 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 DataContainerArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataContainerArgs Empty = new DataContainerArgs();

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

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

    /**
     * Container name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

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

    /**
     * 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 DataContainerArgs() {}

    private DataContainerArgs(DataContainerArgs $) {
        this.dataContainerProperties = $.dataContainerProperties;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private DataContainerArgs $;

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

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

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

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

        /**
         * @param name Container name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable 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 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 DataContainerArgs build() {
            if ($.dataContainerProperties == null) {
                throw new MissingRequiredPropertyException("DataContainerArgs", "dataContainerProperties");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("DataContainerArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("DataContainerArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy