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

com.pulumi.azurenative.machinelearningservices.outputs.PipelineJobResponse 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.CustomModelJobInputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.CustomModelJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.JobServiceResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.LiteralJobInputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.MLFlowModelJobInputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.MLFlowModelJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.MLTableJobInputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.MLTableJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ManagedIdentityResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.TritonModelJobInputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.TritonModelJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.UriFileJobInputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.UriFileJobOutputResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.UriFolderJobInputResponse;
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 PipelineJobResponse {
    /**
     * @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 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 Inputs for the pipeline job.
     * 
     */
    private @Nullable Map inputs;
    /**
     * @return Is the asset archived?
     * 
     */
    private @Nullable Boolean isArchived;
    /**
     * @return Enum to determine the type of job.
     * Expected value is 'Pipeline'.
     * 
     */
    private String jobType;
    /**
     * @return Jobs construct the Pipeline Job.
     * 
     */
    private @Nullable Map jobs;
    /**
     * @return Outputs for the pipeline job
     * 
     */
    private @Nullable Map outputs;
    /**
     * @return The asset property dictionary.
     * 
     */
    private @Nullable Map properties;
    /**
     * @return List of JobEndpoints.
     * For local jobs, a job endpoint will have an endpoint value of FileStreamObject.
     * 
     */
    private @Nullable Map services;
    /**
     * @return Pipeline settings, for things like ContinueRunOnStepFailure etc.
     * 
     */
    private @Nullable Object settings;
    /**
     * @return ARM resource ID of source job.
     * 
     */
    private @Nullable String sourceJobId;
    /**
     * @return Status of the job.
     * 
     */
    private String status;
    /**
     * @return Tag dictionary. Tags can be added, removed, and updated.
     * 
     */
    private @Nullable Map tags;

    private PipelineJobResponse() {}
    /**
     * @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 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 Inputs for the pipeline job.
     * 
     */
    public Map inputs() {
        return this.inputs == null ? Map.of() : this.inputs;
    }
    /**
     * @return Is the asset archived?
     * 
     */
    public Optional isArchived() {
        return Optional.ofNullable(this.isArchived);
    }
    /**
     * @return Enum to determine the type of job.
     * Expected value is 'Pipeline'.
     * 
     */
    public String jobType() {
        return this.jobType;
    }
    /**
     * @return Jobs construct the Pipeline Job.
     * 
     */
    public Map jobs() {
        return this.jobs == null ? Map.of() : this.jobs;
    }
    /**
     * @return Outputs for the pipeline 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 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 Pipeline settings, for things like ContinueRunOnStepFailure etc.
     * 
     */
    public Optional settings() {
        return Optional.ofNullable(this.settings);
    }
    /**
     * @return ARM resource ID of source job.
     * 
     */
    public Optional sourceJobId() {
        return Optional.ofNullable(this.sourceJobId);
    }
    /**
     * @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;
    }

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

    public static Builder builder(PipelineJobResponse 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 experimentName;
        private @Nullable Object identity;
        private @Nullable Map inputs;
        private @Nullable Boolean isArchived;
        private String jobType;
        private @Nullable Map jobs;
        private @Nullable Map outputs;
        private @Nullable Map properties;
        private @Nullable Map services;
        private @Nullable Object settings;
        private @Nullable String sourceJobId;
        private String status;
        private @Nullable Map tags;
        public Builder() {}
        public Builder(PipelineJobResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.componentId = defaults.componentId;
    	      this.computeId = defaults.computeId;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.experimentName = defaults.experimentName;
    	      this.identity = defaults.identity;
    	      this.inputs = defaults.inputs;
    	      this.isArchived = defaults.isArchived;
    	      this.jobType = defaults.jobType;
    	      this.jobs = defaults.jobs;
    	      this.outputs = defaults.outputs;
    	      this.properties = defaults.properties;
    	      this.services = defaults.services;
    	      this.settings = defaults.settings;
    	      this.sourceJobId = defaults.sourceJobId;
    	      this.status = defaults.status;
    	      this.tags = defaults.tags;
        }

        @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 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 inputs(@Nullable Map inputs) {

            this.inputs = inputs;
            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("PipelineJobResponse", "jobType");
            }
            this.jobType = jobType;
            return this;
        }
        @CustomType.Setter
        public Builder jobs(@Nullable Map jobs) {

            this.jobs = jobs;
            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 services(@Nullable Map services) {

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

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

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

            this.tags = tags;
            return this;
        }
        public PipelineJobResponse build() {
            final var _resultValue = new PipelineJobResponse();
            _resultValue.componentId = componentId;
            _resultValue.computeId = computeId;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.experimentName = experimentName;
            _resultValue.identity = identity;
            _resultValue.inputs = inputs;
            _resultValue.isArchived = isArchived;
            _resultValue.jobType = jobType;
            _resultValue.jobs = jobs;
            _resultValue.outputs = outputs;
            _resultValue.properties = properties;
            _resultValue.services = services;
            _resultValue.settings = settings;
            _resultValue.sourceJobId = sourceJobId;
            _resultValue.status = status;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}