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

com.pulumi.azurenative.machinelearningservices.inputs.GetLabelingJobPlainArgs 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.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 GetLabelingJobPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetLabelingJobPlainArgs Empty = new GetLabelingJobPlainArgs();

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

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

    /**
     * Boolean value to indicate whether to include JobInstructions in response.
     * 
     */
    @Import(name="includeJobInstructions")
    private @Nullable Boolean 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 Boolean 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 String resourceGroupName;

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

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

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

    private GetLabelingJobPlainArgs() {}

    private GetLabelingJobPlainArgs(GetLabelingJobPlainArgs $) {
        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(GetLabelingJobPlainArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetLabelingJobPlainArgs $;

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

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

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy