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

com.pulumi.azurenative.databoxedge.outputs.RefreshDetailsResponse Maven / Gradle / Ivy

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

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class RefreshDetailsResponse {
    /**
     * @return Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
     * 
     */
    private @Nullable String errorManifestFile;
    /**
     * @return If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
     * 
     */
    private @Nullable String inProgressRefreshJobId;
    /**
     * @return Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
     * 
     */
    private @Nullable String lastCompletedRefreshJobTimeInUTC;
    /**
     * @return Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
     * 
     */
    private @Nullable String lastJob;

    private RefreshDetailsResponse() {}
    /**
     * @return Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.
     * 
     */
    public Optional errorManifestFile() {
        return Optional.ofNullable(this.errorManifestFile);
    }
    /**
     * @return If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.
     * 
     */
    public Optional inProgressRefreshJobId() {
        return Optional.ofNullable(this.inProgressRefreshJobId);
    }
    /**
     * @return Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.
     * 
     */
    public Optional lastCompletedRefreshJobTimeInUTC() {
        return Optional.ofNullable(this.lastCompletedRefreshJobTimeInUTC);
    }
    /**
     * @return Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.
     * 
     */
    public Optional lastJob() {
        return Optional.ofNullable(this.lastJob);
    }

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

    public static Builder builder(RefreshDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String errorManifestFile;
        private @Nullable String inProgressRefreshJobId;
        private @Nullable String lastCompletedRefreshJobTimeInUTC;
        private @Nullable String lastJob;
        public Builder() {}
        public Builder(RefreshDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.errorManifestFile = defaults.errorManifestFile;
    	      this.inProgressRefreshJobId = defaults.inProgressRefreshJobId;
    	      this.lastCompletedRefreshJobTimeInUTC = defaults.lastCompletedRefreshJobTimeInUTC;
    	      this.lastJob = defaults.lastJob;
        }

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

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

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

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

            this.lastJob = lastJob;
            return this;
        }
        public RefreshDetailsResponse build() {
            final var _resultValue = new RefreshDetailsResponse();
            _resultValue.errorManifestFile = errorManifestFile;
            _resultValue.inProgressRefreshJobId = inProgressRefreshJobId;
            _resultValue.lastCompletedRefreshJobTimeInUTC = lastCompletedRefreshJobTimeInUTC;
            _resultValue.lastJob = lastJob;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy