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

com.pulumi.azurenative.storagecache.outputs.PrimingJobResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.storagecache.outputs;

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

@CustomType
public final class PrimingJobResponse {
    /**
     * @return The job details or error information if any.
     * 
     */
    private String primingJobDetails;
    /**
     * @return The unique identifier of the priming job.
     * 
     */
    private String primingJobId;
    /**
     * @return The priming job name.
     * 
     */
    private String primingJobName;
    /**
     * @return The current progress of the priming job, as a percentage.
     * 
     */
    private Double primingJobPercentComplete;
    /**
     * @return The state of the priming operation.
     * 
     */
    private String primingJobState;
    /**
     * @return The status code of the priming job.
     * 
     */
    private String primingJobStatus;

    private PrimingJobResponse() {}
    /**
     * @return The job details or error information if any.
     * 
     */
    public String primingJobDetails() {
        return this.primingJobDetails;
    }
    /**
     * @return The unique identifier of the priming job.
     * 
     */
    public String primingJobId() {
        return this.primingJobId;
    }
    /**
     * @return The priming job name.
     * 
     */
    public String primingJobName() {
        return this.primingJobName;
    }
    /**
     * @return The current progress of the priming job, as a percentage.
     * 
     */
    public Double primingJobPercentComplete() {
        return this.primingJobPercentComplete;
    }
    /**
     * @return The state of the priming operation.
     * 
     */
    public String primingJobState() {
        return this.primingJobState;
    }
    /**
     * @return The status code of the priming job.
     * 
     */
    public String primingJobStatus() {
        return this.primingJobStatus;
    }

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

    public static Builder builder(PrimingJobResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String primingJobDetails;
        private String primingJobId;
        private String primingJobName;
        private Double primingJobPercentComplete;
        private String primingJobState;
        private String primingJobStatus;
        public Builder() {}
        public Builder(PrimingJobResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.primingJobDetails = defaults.primingJobDetails;
    	      this.primingJobId = defaults.primingJobId;
    	      this.primingJobName = defaults.primingJobName;
    	      this.primingJobPercentComplete = defaults.primingJobPercentComplete;
    	      this.primingJobState = defaults.primingJobState;
    	      this.primingJobStatus = defaults.primingJobStatus;
        }

        @CustomType.Setter
        public Builder primingJobDetails(String primingJobDetails) {
            if (primingJobDetails == null) {
              throw new MissingRequiredPropertyException("PrimingJobResponse", "primingJobDetails");
            }
            this.primingJobDetails = primingJobDetails;
            return this;
        }
        @CustomType.Setter
        public Builder primingJobId(String primingJobId) {
            if (primingJobId == null) {
              throw new MissingRequiredPropertyException("PrimingJobResponse", "primingJobId");
            }
            this.primingJobId = primingJobId;
            return this;
        }
        @CustomType.Setter
        public Builder primingJobName(String primingJobName) {
            if (primingJobName == null) {
              throw new MissingRequiredPropertyException("PrimingJobResponse", "primingJobName");
            }
            this.primingJobName = primingJobName;
            return this;
        }
        @CustomType.Setter
        public Builder primingJobPercentComplete(Double primingJobPercentComplete) {
            if (primingJobPercentComplete == null) {
              throw new MissingRequiredPropertyException("PrimingJobResponse", "primingJobPercentComplete");
            }
            this.primingJobPercentComplete = primingJobPercentComplete;
            return this;
        }
        @CustomType.Setter
        public Builder primingJobState(String primingJobState) {
            if (primingJobState == null) {
              throw new MissingRequiredPropertyException("PrimingJobResponse", "primingJobState");
            }
            this.primingJobState = primingJobState;
            return this;
        }
        @CustomType.Setter
        public Builder primingJobStatus(String primingJobStatus) {
            if (primingJobStatus == null) {
              throw new MissingRequiredPropertyException("PrimingJobResponse", "primingJobStatus");
            }
            this.primingJobStatus = primingJobStatus;
            return this;
        }
        public PrimingJobResponse build() {
            final var _resultValue = new PrimingJobResponse();
            _resultValue.primingJobDetails = primingJobDetails;
            _resultValue.primingJobId = primingJobId;
            _resultValue.primingJobName = primingJobName;
            _resultValue.primingJobPercentComplete = primingJobPercentComplete;
            _resultValue.primingJobState = primingJobState;
            _resultValue.primingJobStatus = primingJobStatus;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy