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

com.pulumi.azurenative.datareplication.outputs.ProtectedItemModelPropertiesResponseCurrentJob 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.datareplication.outputs;

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

@CustomType
public final class ProtectedItemModelPropertiesResponseCurrentJob {
    /**
     * @return Gets or sets the workflow friendly display name.
     * 
     */
    private String displayName;
    /**
     * @return Gets or sets end time of the workflow.
     * 
     */
    private String endTime;
    /**
     * @return Gets or sets workflow Id.
     * 
     */
    private String id;
    /**
     * @return Gets or sets workflow name.
     * 
     */
    private String name;
    /**
     * @return Gets or sets protection scenario name.
     * 
     */
    private String scenarioName;
    /**
     * @return Gets or sets start time of the workflow.
     * 
     */
    private String startTime;
    /**
     * @return Gets or sets workflow state.
     * 
     */
    private String state;

    private ProtectedItemModelPropertiesResponseCurrentJob() {}
    /**
     * @return Gets or sets the workflow friendly display name.
     * 
     */
    public String displayName() {
        return this.displayName;
    }
    /**
     * @return Gets or sets end time of the workflow.
     * 
     */
    public String endTime() {
        return this.endTime;
    }
    /**
     * @return Gets or sets workflow Id.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Gets or sets workflow name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Gets or sets protection scenario name.
     * 
     */
    public String scenarioName() {
        return this.scenarioName;
    }
    /**
     * @return Gets or sets start time of the workflow.
     * 
     */
    public String startTime() {
        return this.startTime;
    }
    /**
     * @return Gets or sets workflow state.
     * 
     */
    public String state() {
        return this.state;
    }

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

    public static Builder builder(ProtectedItemModelPropertiesResponseCurrentJob defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String displayName;
        private String endTime;
        private String id;
        private String name;
        private String scenarioName;
        private String startTime;
        private String state;
        public Builder() {}
        public Builder(ProtectedItemModelPropertiesResponseCurrentJob defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.displayName = defaults.displayName;
    	      this.endTime = defaults.endTime;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.scenarioName = defaults.scenarioName;
    	      this.startTime = defaults.startTime;
    	      this.state = defaults.state;
        }

        @CustomType.Setter
        public Builder displayName(String displayName) {
            if (displayName == null) {
              throw new MissingRequiredPropertyException("ProtectedItemModelPropertiesResponseCurrentJob", "displayName");
            }
            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder endTime(String endTime) {
            if (endTime == null) {
              throw new MissingRequiredPropertyException("ProtectedItemModelPropertiesResponseCurrentJob", "endTime");
            }
            this.endTime = endTime;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("ProtectedItemModelPropertiesResponseCurrentJob", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("ProtectedItemModelPropertiesResponseCurrentJob", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder scenarioName(String scenarioName) {
            if (scenarioName == null) {
              throw new MissingRequiredPropertyException("ProtectedItemModelPropertiesResponseCurrentJob", "scenarioName");
            }
            this.scenarioName = scenarioName;
            return this;
        }
        @CustomType.Setter
        public Builder startTime(String startTime) {
            if (startTime == null) {
              throw new MissingRequiredPropertyException("ProtectedItemModelPropertiesResponseCurrentJob", "startTime");
            }
            this.startTime = startTime;
            return this;
        }
        @CustomType.Setter
        public Builder state(String state) {
            if (state == null) {
              throw new MissingRequiredPropertyException("ProtectedItemModelPropertiesResponseCurrentJob", "state");
            }
            this.state = state;
            return this;
        }
        public ProtectedItemModelPropertiesResponseCurrentJob build() {
            final var _resultValue = new ProtectedItemModelPropertiesResponseCurrentJob();
            _resultValue.displayName = displayName;
            _resultValue.endTime = endTime;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.scenarioName = scenarioName;
            _resultValue.startTime = startTime;
            _resultValue.state = state;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy