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

com.pulumi.azurenative.azurestackhci.outputs.ReportedPropertiesResponse 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.azurestackhci.outputs;

import com.pulumi.azurenative.azurestackhci.outputs.DeploymentStatusResponse;
import com.pulumi.azurenative.azurestackhci.outputs.ValidationStatusResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;

@CustomType
public final class ReportedPropertiesResponse {
    /**
     * @return Deployment status of AzureStackHCI Cluster Deployment.
     * 
     */
    private DeploymentStatusResponse deploymentStatus;
    /**
     * @return validation status of AzureStackHCI Cluster Deployment.
     * 
     */
    private ValidationStatusResponse validationStatus;

    private ReportedPropertiesResponse() {}
    /**
     * @return Deployment status of AzureStackHCI Cluster Deployment.
     * 
     */
    public DeploymentStatusResponse deploymentStatus() {
        return this.deploymentStatus;
    }
    /**
     * @return validation status of AzureStackHCI Cluster Deployment.
     * 
     */
    public ValidationStatusResponse validationStatus() {
        return this.validationStatus;
    }

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

    public static Builder builder(ReportedPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private DeploymentStatusResponse deploymentStatus;
        private ValidationStatusResponse validationStatus;
        public Builder() {}
        public Builder(ReportedPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.deploymentStatus = defaults.deploymentStatus;
    	      this.validationStatus = defaults.validationStatus;
        }

        @CustomType.Setter
        public Builder deploymentStatus(DeploymentStatusResponse deploymentStatus) {
            if (deploymentStatus == null) {
              throw new MissingRequiredPropertyException("ReportedPropertiesResponse", "deploymentStatus");
            }
            this.deploymentStatus = deploymentStatus;
            return this;
        }
        @CustomType.Setter
        public Builder validationStatus(ValidationStatusResponse validationStatus) {
            if (validationStatus == null) {
              throw new MissingRequiredPropertyException("ReportedPropertiesResponse", "validationStatus");
            }
            this.validationStatus = validationStatus;
            return this;
        }
        public ReportedPropertiesResponse build() {
            final var _resultValue = new ReportedPropertiesResponse();
            _resultValue.deploymentStatus = deploymentStatus;
            _resultValue.validationStatus = validationStatus;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy