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

com.pulumi.googlenative.gkehub.v1alpha.outputs.StatusResponse 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.googlenative.gkehub.v1alpha.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class StatusResponse {
    /**
     * @return Code specifies AppDevExperienceFeature's subcomponent ready state.
     * 
     */
    private String code;
    /**
     * @return Description is populated if Code is Failed, explaining why it has failed.
     * 
     */
    private String description;

    private StatusResponse() {}
    /**
     * @return Code specifies AppDevExperienceFeature's subcomponent ready state.
     * 
     */
    public String code() {
        return this.code;
    }
    /**
     * @return Description is populated if Code is Failed, explaining why it has failed.
     * 
     */
    public String description() {
        return this.description;
    }

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

    public static Builder builder(StatusResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String code;
        private String description;
        public Builder() {}
        public Builder(StatusResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.code = defaults.code;
    	      this.description = defaults.description;
        }

        @CustomType.Setter
        public Builder code(String code) {
            this.code = Objects.requireNonNull(code);
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            this.description = Objects.requireNonNull(description);
            return this;
        }
        public StatusResponse build() {
            final var o = new StatusResponse();
            o.code = code;
            o.description = description;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy