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

com.pulumi.azurenative.machinelearningservices.inputs.GetLabelingJobArgs 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.inputs;

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


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

    public static final GetLabelingJobArgs Empty = new GetLabelingJobArgs();

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

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

    /**
     * Boolean value to indicate whether to include JobInstructions in response.
     * 
     */
    @Import(name="includeJobInstructions")
    private @Nullable Output includeJobInstructions;

    /**
     * @return Boolean value to indicate whether to include JobInstructions in response.
     * 
     */
    public Optional> includeJobInstructions() {
        return Optional.ofNullable(this.includeJobInstructions);
    }

    /**
     * Boolean value to indicate Whether to include LabelCategories in response.
     * 
     */
    @Import(name="includeLabelCategories")
    private @Nullable Output includeLabelCategories;

    /**
     * @return Boolean value to indicate Whether to include LabelCategories in response.
     * 
     */
    public Optional> includeLabelCategories() {
        return Optional.ofNullable(this.includeLabelCategories);
    }

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

    private GetLabelingJobArgs(GetLabelingJobArgs $) {
        this.id = $.id;
        this.includeJobInstructions = $.includeJobInstructions;
        this.includeLabelCategories = $.includeLabelCategories;
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private GetLabelingJobArgs $;

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

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

        /**
         * @param id The name and identifier for the LabelingJob.
         * 
         * @return builder
         * 
         */
        public Builder id(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 includeJobInstructions Boolean value to indicate whether to include JobInstructions in response.
         * 
         * @return builder
         * 
         */
        public Builder includeJobInstructions(@Nullable Output includeJobInstructions) {
            $.includeJobInstructions = includeJobInstructions;
            return this;
        }

        /**
         * @param includeJobInstructions Boolean value to indicate whether to include JobInstructions in response.
         * 
         * @return builder
         * 
         */
        public Builder includeJobInstructions(Boolean includeJobInstructions) {
            return includeJobInstructions(Output.of(includeJobInstructions));
        }

        /**
         * @param includeLabelCategories Boolean value to indicate Whether to include LabelCategories in response.
         * 
         * @return builder
         * 
         */
        public Builder includeLabelCategories(@Nullable Output includeLabelCategories) {
            $.includeLabelCategories = includeLabelCategories;
            return this;
        }

        /**
         * @param includeLabelCategories Boolean value to indicate Whether to include LabelCategories in response.
         * 
         * @return builder
         * 
         */
        public Builder includeLabelCategories(Boolean includeLabelCategories) {
            return includeLabelCategories(Output.of(includeLabelCategories));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy