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

com.pulumi.azurenative.azurearcdata.outputs.BackgroundJobResponse Maven / Gradle / Ivy

// *** 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.azurearcdata.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 BackgroundJobResponse {
    /**
     * @return The end time of the background job.
     * 
     */
    private @Nullable String endTime;
    /**
     * @return The execution state of the background job.
     * 
     */
    private @Nullable String executionState;
    /**
     * @return The last execution status of the background job.
     * 
     */
    private @Nullable String lastExecutionStatus;
    /**
     * @return The last execution time of the background job.
     * 
     */
    private @Nullable String lastExecutionTime;
    /**
     * @return The start time of the background job.
     * 
     */
    private @Nullable String startTime;
    /**
     * @return The state of the background job.
     * 
     */
    private @Nullable String state;

    private BackgroundJobResponse() {}
    /**
     * @return The end time of the background job.
     * 
     */
    public Optional endTime() {
        return Optional.ofNullable(this.endTime);
    }
    /**
     * @return The execution state of the background job.
     * 
     */
    public Optional executionState() {
        return Optional.ofNullable(this.executionState);
    }
    /**
     * @return The last execution status of the background job.
     * 
     */
    public Optional lastExecutionStatus() {
        return Optional.ofNullable(this.lastExecutionStatus);
    }
    /**
     * @return The last execution time of the background job.
     * 
     */
    public Optional lastExecutionTime() {
        return Optional.ofNullable(this.lastExecutionTime);
    }
    /**
     * @return The start time of the background job.
     * 
     */
    public Optional startTime() {
        return Optional.ofNullable(this.startTime);
    }
    /**
     * @return The state of the background job.
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }

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

    public static Builder builder(BackgroundJobResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String endTime;
        private @Nullable String executionState;
        private @Nullable String lastExecutionStatus;
        private @Nullable String lastExecutionTime;
        private @Nullable String startTime;
        private @Nullable String state;
        public Builder() {}
        public Builder(BackgroundJobResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endTime = defaults.endTime;
    	      this.executionState = defaults.executionState;
    	      this.lastExecutionStatus = defaults.lastExecutionStatus;
    	      this.lastExecutionTime = defaults.lastExecutionTime;
    	      this.startTime = defaults.startTime;
    	      this.state = defaults.state;
        }

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

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

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

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

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

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

            this.state = state;
            return this;
        }
        public BackgroundJobResponse build() {
            final var _resultValue = new BackgroundJobResponse();
            _resultValue.endTime = endTime;
            _resultValue.executionState = executionState;
            _resultValue.lastExecutionStatus = lastExecutionStatus;
            _resultValue.lastExecutionTime = lastExecutionTime;
            _resultValue.startTime = startTime;
            _resultValue.state = state;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy