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

com.pulumi.azurenative.hybridcontainerservice.outputs.ProvisionedClustersCommonPropertiesResponseStatus Maven / Gradle / Ivy

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

import com.pulumi.azurenative.hybridcontainerservice.outputs.AddonStatusResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.ProvisionedClustersCommonPropertiesResponseFeaturesStatus;
import com.pulumi.azurenative.hybridcontainerservice.outputs.ProvisionedClustersCommonPropertiesResponseProvisioningStatus;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ProvisionedClustersCommonPropertiesResponseStatus {
    /**
     * @return AddonStatus - Status of Addons
     * 
     */
    private @Nullable Map addonStatus;
    /**
     * @return ErrorMessage - Error messages during creation of cluster
     * 
     */
    private @Nullable String errorMessage;
    /**
     * @return Additional features status like Arc Agent Onboarding.
     * 
     */
    private @Nullable ProvisionedClustersCommonPropertiesResponseFeaturesStatus featuresStatus;
    /**
     * @return Contains Provisioning errors
     * 
     */
    private @Nullable ProvisionedClustersCommonPropertiesResponseProvisioningStatus provisioningStatus;

    private ProvisionedClustersCommonPropertiesResponseStatus() {}
    /**
     * @return AddonStatus - Status of Addons
     * 
     */
    public Map addonStatus() {
        return this.addonStatus == null ? Map.of() : this.addonStatus;
    }
    /**
     * @return ErrorMessage - Error messages during creation of cluster
     * 
     */
    public Optional errorMessage() {
        return Optional.ofNullable(this.errorMessage);
    }
    /**
     * @return Additional features status like Arc Agent Onboarding.
     * 
     */
    public Optional featuresStatus() {
        return Optional.ofNullable(this.featuresStatus);
    }
    /**
     * @return Contains Provisioning errors
     * 
     */
    public Optional provisioningStatus() {
        return Optional.ofNullable(this.provisioningStatus);
    }

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

    public static Builder builder(ProvisionedClustersCommonPropertiesResponseStatus defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map addonStatus;
        private @Nullable String errorMessage;
        private @Nullable ProvisionedClustersCommonPropertiesResponseFeaturesStatus featuresStatus;
        private @Nullable ProvisionedClustersCommonPropertiesResponseProvisioningStatus provisioningStatus;
        public Builder() {}
        public Builder(ProvisionedClustersCommonPropertiesResponseStatus defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.addonStatus = defaults.addonStatus;
    	      this.errorMessage = defaults.errorMessage;
    	      this.featuresStatus = defaults.featuresStatus;
    	      this.provisioningStatus = defaults.provisioningStatus;
        }

        @CustomType.Setter
        public Builder addonStatus(@Nullable Map addonStatus) {

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

            this.errorMessage = errorMessage;
            return this;
        }
        @CustomType.Setter
        public Builder featuresStatus(@Nullable ProvisionedClustersCommonPropertiesResponseFeaturesStatus featuresStatus) {

            this.featuresStatus = featuresStatus;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningStatus(@Nullable ProvisionedClustersCommonPropertiesResponseProvisioningStatus provisioningStatus) {

            this.provisioningStatus = provisioningStatus;
            return this;
        }
        public ProvisionedClustersCommonPropertiesResponseStatus build() {
            final var _resultValue = new ProvisionedClustersCommonPropertiesResponseStatus();
            _resultValue.addonStatus = addonStatus;
            _resultValue.errorMessage = errorMessage;
            _resultValue.featuresStatus = featuresStatus;
            _resultValue.provisioningStatus = provisioningStatus;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy