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

com.pulumi.azurenative.hybridcompute.outputs.ExtensionsResourceStatusResponse 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.hybridcompute.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ExtensionsResourceStatusResponse {
    /**
     * @return The status code.
     * 
     */
    private @Nullable String code;
    /**
     * @return The short localizable label for the status.
     * 
     */
    private @Nullable String displayStatus;
    /**
     * @return The level code.
     * 
     */
    private @Nullable String level;
    /**
     * @return The detailed status message, including for alerts and error messages.
     * 
     */
    private @Nullable String message;
    /**
     * @return The time of the status.
     * 
     */
    private @Nullable String time;

    private ExtensionsResourceStatusResponse() {}
    /**
     * @return The status code.
     * 
     */
    public Optional code() {
        return Optional.ofNullable(this.code);
    }
    /**
     * @return The short localizable label for the status.
     * 
     */
    public Optional displayStatus() {
        return Optional.ofNullable(this.displayStatus);
    }
    /**
     * @return The level code.
     * 
     */
    public Optional level() {
        return Optional.ofNullable(this.level);
    }
    /**
     * @return The detailed status message, including for alerts and error messages.
     * 
     */
    public Optional message() {
        return Optional.ofNullable(this.message);
    }
    /**
     * @return The time of the status.
     * 
     */
    public Optional time() {
        return Optional.ofNullable(this.time);
    }

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

    public static Builder builder(ExtensionsResourceStatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String code;
        private @Nullable String displayStatus;
        private @Nullable String level;
        private @Nullable String message;
        private @Nullable String time;
        public Builder() {}
        public Builder(ExtensionsResourceStatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.code = defaults.code;
    	      this.displayStatus = defaults.displayStatus;
    	      this.level = defaults.level;
    	      this.message = defaults.message;
    	      this.time = defaults.time;
        }

        @CustomType.Setter
        public Builder code(@Nullable String code) {

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

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

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

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

            this.time = time;
            return this;
        }
        public ExtensionsResourceStatusResponse build() {
            final var _resultValue = new ExtensionsResourceStatusResponse();
            _resultValue.code = code;
            _resultValue.displayStatus = displayStatus;
            _resultValue.level = level;
            _resultValue.message = message;
            _resultValue.time = time;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy