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

com.pulumi.azurenative.databoxedge.inputs.RefreshDetailsArgs 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.databoxedge.inputs;

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


/**
 * Fields for tracking refresh job on the share or container.
 * 
 */
public final class RefreshDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final RefreshDetailsArgs Empty = new RefreshDetailsArgs();

    /**
     * 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.
     * 
     */
    @Import(name="errorManifestFile")
    private @Nullable Output errorManifestFile;

    /**
     * @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);
    }

    /**
     * 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.
     * 
     */
    @Import(name="inProgressRefreshJobId")
    private @Nullable Output inProgressRefreshJobId;

    /**
     * @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);
    }

    /**
     * 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.
     * 
     */
    @Import(name="lastCompletedRefreshJobTimeInUTC")
    private @Nullable Output lastCompletedRefreshJobTimeInUTC;

    /**
     * @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);
    }

    /**
     * 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.
     * 
     */
    @Import(name="lastJob")
    private @Nullable Output lastJob;

    /**
     * @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);
    }

    private RefreshDetailsArgs() {}

    private RefreshDetailsArgs(RefreshDetailsArgs $) {
        this.errorManifestFile = $.errorManifestFile;
        this.inProgressRefreshJobId = $.inProgressRefreshJobId;
        this.lastCompletedRefreshJobTimeInUTC = $.lastCompletedRefreshJobTimeInUTC;
        this.lastJob = $.lastJob;
    }

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

    public static final class Builder {
        private RefreshDetailsArgs $;

        public Builder() {
            $ = new RefreshDetailsArgs();
        }

        public Builder(RefreshDetailsArgs defaults) {
            $ = new RefreshDetailsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param errorManifestFile 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.
         * 
         * @return builder
         * 
         */
        public Builder errorManifestFile(@Nullable Output errorManifestFile) {
            $.errorManifestFile = errorManifestFile;
            return this;
        }

        /**
         * @param errorManifestFile 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.
         * 
         * @return builder
         * 
         */
        public Builder errorManifestFile(String errorManifestFile) {
            return errorManifestFile(Output.of(errorManifestFile));
        }

        /**
         * @param inProgressRefreshJobId 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.
         * 
         * @return builder
         * 
         */
        public Builder inProgressRefreshJobId(@Nullable Output inProgressRefreshJobId) {
            $.inProgressRefreshJobId = inProgressRefreshJobId;
            return this;
        }

        /**
         * @param inProgressRefreshJobId 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.
         * 
         * @return builder
         * 
         */
        public Builder inProgressRefreshJobId(String inProgressRefreshJobId) {
            return inProgressRefreshJobId(Output.of(inProgressRefreshJobId));
        }

        /**
         * @param lastCompletedRefreshJobTimeInUTC 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.
         * 
         * @return builder
         * 
         */
        public Builder lastCompletedRefreshJobTimeInUTC(@Nullable Output lastCompletedRefreshJobTimeInUTC) {
            $.lastCompletedRefreshJobTimeInUTC = lastCompletedRefreshJobTimeInUTC;
            return this;
        }

        /**
         * @param lastCompletedRefreshJobTimeInUTC 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.
         * 
         * @return builder
         * 
         */
        public Builder lastCompletedRefreshJobTimeInUTC(String lastCompletedRefreshJobTimeInUTC) {
            return lastCompletedRefreshJobTimeInUTC(Output.of(lastCompletedRefreshJobTimeInUTC));
        }

        /**
         * @param lastJob 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.
         * 
         * @return builder
         * 
         */
        public Builder lastJob(@Nullable Output lastJob) {
            $.lastJob = lastJob;
            return this;
        }

        /**
         * @param lastJob 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.
         * 
         * @return builder
         * 
         */
        public Builder lastJob(String lastJob) {
            return lastJob(Output.of(lastJob));
        }

        public RefreshDetailsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy