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

com.pulumi.azurenative.compute.outputs.InnerErrorResponse 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.compute.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 InnerErrorResponse {
    /**
     * @return The internal error message or exception dump.
     * 
     */
    private @Nullable String errordetail;
    /**
     * @return The exception type.
     * 
     */
    private @Nullable String exceptiontype;

    private InnerErrorResponse() {}
    /**
     * @return The internal error message or exception dump.
     * 
     */
    public Optional errordetail() {
        return Optional.ofNullable(this.errordetail);
    }
    /**
     * @return The exception type.
     * 
     */
    public Optional exceptiontype() {
        return Optional.ofNullable(this.exceptiontype);
    }

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

    public static Builder builder(InnerErrorResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String errordetail;
        private @Nullable String exceptiontype;
        public Builder() {}
        public Builder(InnerErrorResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.errordetail = defaults.errordetail;
    	      this.exceptiontype = defaults.exceptiontype;
        }

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

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

            this.exceptiontype = exceptiontype;
            return this;
        }
        public InnerErrorResponse build() {
            final var _resultValue = new InnerErrorResponse();
            _resultValue.errordetail = errordetail;
            _resultValue.exceptiontype = exceptiontype;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy