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

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

    public static final LabelingJobArgs Empty = new LabelingJobArgs();

    /**
     * The name and identifier for the LabelingJob.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return The name and identifier for the LabelingJob.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

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

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

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

    private LabelingJobArgs(LabelingJobArgs $) {
        this.id = $.id;
        this.labelingJobProperties = $.labelingJobProperties;
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private LabelingJobArgs $;

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

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

        /**
         * @param id The name and identifier for the LabelingJob.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The name and identifier for the LabelingJob.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

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

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

        /**
         * @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 LabelingJobArgs build() {
            if ($.labelingJobProperties == null) {
                throw new MissingRequiredPropertyException("LabelingJobArgs", "labelingJobProperties");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("LabelingJobArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("LabelingJobArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy