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

com.pulumi.azurenative.chaos.outputs.GetExperimentExecutionDetailsResult 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.chaos.outputs;

import com.pulumi.azurenative.chaos.outputs.ExperimentExecutionDetailsPropertiesResponseRunInformation;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetExperimentExecutionDetailsResult {
    /**
     * @return The reason why the execution failed.
     * 
     */
    private String failureReason;
    /**
     * @return String of the fully qualified resource ID.
     * 
     */
    private String id;
    /**
     * @return String that represents the last action date time.
     * 
     */
    private String lastActionAt;
    /**
     * @return String of the resource name.
     * 
     */
    private String name;
    /**
     * @return The information of the experiment run.
     * 
     */
    private ExperimentExecutionDetailsPropertiesResponseRunInformation runInformation;
    /**
     * @return String that represents the start date time.
     * 
     */
    private String startedAt;
    /**
     * @return The status of the execution.
     * 
     */
    private String status;
    /**
     * @return String that represents the stop date time.
     * 
     */
    private String stoppedAt;
    /**
     * @return String of the resource type.
     * 
     */
    private String type;

    private GetExperimentExecutionDetailsResult() {}
    /**
     * @return The reason why the execution failed.
     * 
     */
    public String failureReason() {
        return this.failureReason;
    }
    /**
     * @return String of the fully qualified resource ID.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return String that represents the last action date time.
     * 
     */
    public String lastActionAt() {
        return this.lastActionAt;
    }
    /**
     * @return String of the resource name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The information of the experiment run.
     * 
     */
    public ExperimentExecutionDetailsPropertiesResponseRunInformation runInformation() {
        return this.runInformation;
    }
    /**
     * @return String that represents the start date time.
     * 
     */
    public String startedAt() {
        return this.startedAt;
    }
    /**
     * @return The status of the execution.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return String that represents the stop date time.
     * 
     */
    public String stoppedAt() {
        return this.stoppedAt;
    }
    /**
     * @return String of the resource type.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetExperimentExecutionDetailsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String failureReason;
        private String id;
        private String lastActionAt;
        private String name;
        private ExperimentExecutionDetailsPropertiesResponseRunInformation runInformation;
        private String startedAt;
        private String status;
        private String stoppedAt;
        private String type;
        public Builder() {}
        public Builder(GetExperimentExecutionDetailsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.failureReason = defaults.failureReason;
    	      this.id = defaults.id;
    	      this.lastActionAt = defaults.lastActionAt;
    	      this.name = defaults.name;
    	      this.runInformation = defaults.runInformation;
    	      this.startedAt = defaults.startedAt;
    	      this.status = defaults.status;
    	      this.stoppedAt = defaults.stoppedAt;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder failureReason(String failureReason) {
            if (failureReason == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "failureReason");
            }
            this.failureReason = failureReason;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder lastActionAt(String lastActionAt) {
            if (lastActionAt == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "lastActionAt");
            }
            this.lastActionAt = lastActionAt;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder runInformation(ExperimentExecutionDetailsPropertiesResponseRunInformation runInformation) {
            if (runInformation == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "runInformation");
            }
            this.runInformation = runInformation;
            return this;
        }
        @CustomType.Setter
        public Builder startedAt(String startedAt) {
            if (startedAt == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "startedAt");
            }
            this.startedAt = startedAt;
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder stoppedAt(String stoppedAt) {
            if (stoppedAt == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "stoppedAt");
            }
            this.stoppedAt = stoppedAt;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetExperimentExecutionDetailsResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetExperimentExecutionDetailsResult build() {
            final var _resultValue = new GetExperimentExecutionDetailsResult();
            _resultValue.failureReason = failureReason;
            _resultValue.id = id;
            _resultValue.lastActionAt = lastActionAt;
            _resultValue.name = name;
            _resultValue.runInformation = runInformation;
            _resultValue.startedAt = startedAt;
            _resultValue.status = status;
            _resultValue.stoppedAt = stoppedAt;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy