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

com.pulumi.azurenative.migrate.outputs.JobStatusResponse 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.migrate.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class JobStatusResponse {
    /**
     * @return Defines the job name.
     * 
     */
    private String jobName;
    /**
     * @return Gets or sets the monitoring job percentage.
     * 
     */
    private String jobProgress;

    private JobStatusResponse() {}
    /**
     * @return Defines the job name.
     * 
     */
    public String jobName() {
        return this.jobName;
    }
    /**
     * @return Gets or sets the monitoring job percentage.
     * 
     */
    public String jobProgress() {
        return this.jobProgress;
    }

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

    public static Builder builder(JobStatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String jobName;
        private String jobProgress;
        public Builder() {}
        public Builder(JobStatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.jobName = defaults.jobName;
    	      this.jobProgress = defaults.jobProgress;
        }

        @CustomType.Setter
        public Builder jobName(String jobName) {
            if (jobName == null) {
              throw new MissingRequiredPropertyException("JobStatusResponse", "jobName");
            }
            this.jobName = jobName;
            return this;
        }
        @CustomType.Setter
        public Builder jobProgress(String jobProgress) {
            if (jobProgress == null) {
              throw new MissingRequiredPropertyException("JobStatusResponse", "jobProgress");
            }
            this.jobProgress = jobProgress;
            return this;
        }
        public JobStatusResponse build() {
            final var _resultValue = new JobStatusResponse();
            _resultValue.jobName = jobName;
            _resultValue.jobProgress = jobProgress;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy