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

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

There is a newer version: 2.89.2
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.azurenative.machinelearningservices.inputs.ComponentContainerArgs;
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 RegistryComponentContainerArgs extends com.pulumi.resources.ResourceArgs {

    public static final RegistryComponentContainerArgs Empty = new RegistryComponentContainerArgs();

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

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

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

    /**
     * @return Container name.
     * 
     */
    public Optional> componentName() {
        return Optional.ofNullable(this.componentName);
    }

    /**
     * Name of Azure Machine Learning registry. This is case-insensitive
     * 
     */
    @Import(name="registryName", required=true)
    private Output registryName;

    /**
     * @return Name of Azure Machine Learning registry. This is case-insensitive
     * 
     */
    public Output registryName() {
        return this.registryName;
    }

    /**
     * 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;
    }

    private RegistryComponentContainerArgs() {}

    private RegistryComponentContainerArgs(RegistryComponentContainerArgs $) {
        this.componentContainerProperties = $.componentContainerProperties;
        this.componentName = $.componentName;
        this.registryName = $.registryName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private RegistryComponentContainerArgs $;

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

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

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

        /**
         * @param componentContainerProperties [Required] Additional attributes of the entity.
         * 
         * @return builder
         * 
         */
        public Builder componentContainerProperties(ComponentContainerArgs componentContainerProperties) {
            return componentContainerProperties(Output.of(componentContainerProperties));
        }

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

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

        /**
         * @param registryName Name of Azure Machine Learning registry. This is case-insensitive
         * 
         * @return builder
         * 
         */
        public Builder registryName(Output registryName) {
            $.registryName = registryName;
            return this;
        }

        /**
         * @param registryName Name of Azure Machine Learning registry. This is case-insensitive
         * 
         * @return builder
         * 
         */
        public Builder registryName(String registryName) {
            return registryName(Output.of(registryName));
        }

        /**
         * @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));
        }

        public RegistryComponentContainerArgs build() {
            if ($.componentContainerProperties == null) {
                throw new MissingRequiredPropertyException("RegistryComponentContainerArgs", "componentContainerProperties");
            }
            if ($.registryName == null) {
                throw new MissingRequiredPropertyException("RegistryComponentContainerArgs", "registryName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("RegistryComponentContainerArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy