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

com.pulumi.azurenative.machinelearningservices.outputs.AutoMLJobResponse 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.outputs;

import com.pulumi.azurenative.machinelearningservices.outputs.AmlTokenResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ClassificationResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.CustomModelJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ForecastingResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ImageClassificationMultilabelResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ImageClassificationResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ImageInstanceSegmentationResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ImageObjectDetectionResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.JobResourceConfigurationResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.JobServiceResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.MLFlowModelJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.MLTableJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ManagedIdentityResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.RegressionResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.TextClassificationMultilabelResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.TextClassificationResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.TextNerResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.TritonModelJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.UriFileJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.UriFolderJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.UserIdentityResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AutoMLJobResponse {
    /**
     * @return ARM resource ID of the component resource.
     * 
     */
    private @Nullable String componentId;
    /**
     * @return ARM resource ID of the compute resource.
     * 
     */
    private @Nullable String computeId;
    /**
     * @return The asset description text.
     * 
     */
    private @Nullable String description;
    /**
     * @return Display name of job.
     * 
     */
    private @Nullable String displayName;
    /**
     * @return The ARM resource ID of the Environment specification for the job.
     * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job.
     * 
     */
    private @Nullable String environmentId;
    /**
     * @return Environment variables included in the job.
     * 
     */
    private @Nullable Map environmentVariables;
    /**
     * @return The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
     * 
     */
    private @Nullable String experimentName;
    /**
     * @return Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.
     * Defaults to AmlToken if null.
     * 
     */
    private @Nullable Object identity;
    /**
     * @return Is the asset archived?
     * 
     */
    private @Nullable Boolean isArchived;
    /**
     * @return Enum to determine the type of job.
     * Expected value is 'AutoML'.
     * 
     */
    private String jobType;
    /**
     * @return Mapping of output data bindings used in the job.
     * 
     */
    private @Nullable Map outputs;
    /**
     * @return The asset property dictionary.
     * 
     */
    private @Nullable Map properties;
    /**
     * @return Compute Resource configuration for the job.
     * 
     */
    private @Nullable JobResourceConfigurationResponse resources;
    /**
     * @return List of JobEndpoints.
     * For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
     * 
     */
    private @Nullable Map services;
    /**
     * @return Status of the job.
     * 
     */
    private String status;
    /**
     * @return Tag dictionary. Tags can be added, removed, and updated.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return [Required] This represents scenario which can be one of Tables/NLP/Image
     * 
     */
    private Object taskDetails;

    private AutoMLJobResponse() {}
    /**
     * @return ARM resource ID of the component resource.
     * 
     */
    public Optional componentId() {
        return Optional.ofNullable(this.componentId);
    }
    /**
     * @return ARM resource ID of the compute resource.
     * 
     */
    public Optional computeId() {
        return Optional.ofNullable(this.computeId);
    }
    /**
     * @return The asset description text.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Display name of job.
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return The ARM resource ID of the Environment specification for the job.
     * This is optional value to provide, if not provided, AutoML will default this to Production AutoML curated environment version when running the job.
     * 
     */
    public Optional environmentId() {
        return Optional.ofNullable(this.environmentId);
    }
    /**
     * @return Environment variables included in the job.
     * 
     */
    public Map environmentVariables() {
        return this.environmentVariables == null ? Map.of() : this.environmentVariables;
    }
    /**
     * @return The name of the experiment the job belongs to. If not set, the job is placed in the "Default" experiment.
     * 
     */
    public Optional experimentName() {
        return Optional.ofNullable(this.experimentName);
    }
    /**
     * @return Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, UserIdentity or null.
     * Defaults to AmlToken if null.
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return Is the asset archived?
     * 
     */
    public Optional isArchived() {
        return Optional.ofNullable(this.isArchived);
    }
    /**
     * @return Enum to determine the type of job.
     * Expected value is 'AutoML'.
     * 
     */
    public String jobType() {
        return this.jobType;
    }
    /**
     * @return Mapping of output data bindings used in the job.
     * 
     */
    public Map outputs() {
        return this.outputs == null ? Map.of() : this.outputs;
    }
    /**
     * @return The asset property dictionary.
     * 
     */
    public Map properties() {
        return this.properties == null ? Map.of() : this.properties;
    }
    /**
     * @return Compute Resource configuration for the job.
     * 
     */
    public Optional resources() {
        return Optional.ofNullable(this.resources);
    }
    /**
     * @return List of JobEndpoints.
     * For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
     * 
     */
    public Map services() {
        return this.services == null ? Map.of() : this.services;
    }
    /**
     * @return Status of the job.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return Tag dictionary. Tags can be added, removed, and updated.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return [Required] This represents scenario which can be one of Tables/NLP/Image
     * 
     */
    public Object taskDetails() {
        return this.taskDetails;
    }

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

    public static Builder builder(AutoMLJobResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String componentId;
        private @Nullable String computeId;
        private @Nullable String description;
        private @Nullable String displayName;
        private @Nullable String environmentId;
        private @Nullable Map environmentVariables;
        private @Nullable String experimentName;
        private @Nullable Object identity;
        private @Nullable Boolean isArchived;
        private String jobType;
        private @Nullable Map outputs;
        private @Nullable Map properties;
        private @Nullable JobResourceConfigurationResponse resources;
        private @Nullable Map services;
        private String status;
        private @Nullable Map tags;
        private Object taskDetails;
        public Builder() {}
        public Builder(AutoMLJobResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.componentId = defaults.componentId;
    	      this.computeId = defaults.computeId;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.environmentId = defaults.environmentId;
    	      this.environmentVariables = defaults.environmentVariables;
    	      this.experimentName = defaults.experimentName;
    	      this.identity = defaults.identity;
    	      this.isArchived = defaults.isArchived;
    	      this.jobType = defaults.jobType;
    	      this.outputs = defaults.outputs;
    	      this.properties = defaults.properties;
    	      this.resources = defaults.resources;
    	      this.services = defaults.services;
    	      this.status = defaults.status;
    	      this.tags = defaults.tags;
    	      this.taskDetails = defaults.taskDetails;
        }

        @CustomType.Setter
        public Builder componentId(@Nullable String componentId) {

            this.componentId = componentId;
            return this;
        }
        @CustomType.Setter
        public Builder computeId(@Nullable String computeId) {

            this.computeId = computeId;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(@Nullable String displayName) {

            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder environmentId(@Nullable String environmentId) {

            this.environmentId = environmentId;
            return this;
        }
        @CustomType.Setter
        public Builder environmentVariables(@Nullable Map environmentVariables) {

            this.environmentVariables = environmentVariables;
            return this;
        }
        @CustomType.Setter
        public Builder experimentName(@Nullable String experimentName) {

            this.experimentName = experimentName;
            return this;
        }
        @CustomType.Setter
        public Builder identity(@Nullable Object identity) {

            this.identity = identity;
            return this;
        }
        @CustomType.Setter
        public Builder isArchived(@Nullable Boolean isArchived) {

            this.isArchived = isArchived;
            return this;
        }
        @CustomType.Setter
        public Builder jobType(String jobType) {
            if (jobType == null) {
              throw new MissingRequiredPropertyException("AutoMLJobResponse", "jobType");
            }
            this.jobType = jobType;
            return this;
        }
        @CustomType.Setter
        public Builder outputs(@Nullable Map outputs) {

            this.outputs = outputs;
            return this;
        }
        @CustomType.Setter
        public Builder properties(@Nullable Map properties) {

            this.properties = properties;
            return this;
        }
        @CustomType.Setter
        public Builder resources(@Nullable JobResourceConfigurationResponse resources) {

            this.resources = resources;
            return this;
        }
        @CustomType.Setter
        public Builder services(@Nullable Map services) {

            this.services = services;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("AutoMLJobResponse", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder taskDetails(Object taskDetails) {
            if (taskDetails == null) {
              throw new MissingRequiredPropertyException("AutoMLJobResponse", "taskDetails");
            }
            this.taskDetails = taskDetails;
            return this;
        }
        public AutoMLJobResponse build() {
            final var _resultValue = new AutoMLJobResponse();
            _resultValue.componentId = componentId;
            _resultValue.computeId = computeId;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.environmentId = environmentId;
            _resultValue.environmentVariables = environmentVariables;
            _resultValue.experimentName = experimentName;
            _resultValue.identity = identity;
            _resultValue.isArchived = isArchived;
            _resultValue.jobType = jobType;
            _resultValue.outputs = outputs;
            _resultValue.properties = properties;
            _resultValue.resources = resources;
            _resultValue.services = services;
            _resultValue.status = status;
            _resultValue.tags = tags;
            _resultValue.taskDetails = taskDetails;
            return _resultValue;
        }
    }
}