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

com.pulumi.azurenative.azurestackhci.outputs.DeploymentStatusResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.azurestackhci.outputs.StepResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class DeploymentStatusResponse {
    /**
     * @return Status of AzureStackHCI Cluster Deployment.
     * 
     */
    private String status;
    /**
     * @return List of steps of AzureStackHCI Cluster Deployment.
     * 
     */
    private List steps;

    private DeploymentStatusResponse() {}
    /**
     * @return Status of AzureStackHCI Cluster Deployment.
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return List of steps of AzureStackHCI Cluster Deployment.
     * 
     */
    public List steps() {
        return this.steps;
    }

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

    public static Builder builder(DeploymentStatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String status;
        private List steps;
        public Builder() {}
        public Builder(DeploymentStatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.status = defaults.status;
    	      this.steps = defaults.steps;
        }

        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("DeploymentStatusResponse", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder steps(List steps) {
            if (steps == null) {
              throw new MissingRequiredPropertyException("DeploymentStatusResponse", "steps");
            }
            this.steps = steps;
            return this;
        }
        public Builder steps(StepResponse... steps) {
            return steps(List.of(steps));
        }
        public DeploymentStatusResponse build() {
            final var _resultValue = new DeploymentStatusResponse();
            _resultValue.status = status;
            _resultValue.steps = steps;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy