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

com.pulumi.azurenative.providerhub.inputs.ExtendedErrorInfoArgs 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.providerhub.inputs;

import com.pulumi.azurenative.providerhub.inputs.TypedErrorInfoArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ExtendedErrorInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final ExtendedErrorInfoArgs Empty = new ExtendedErrorInfoArgs();

    @Import(name="additionalInfo")
    private @Nullable Output> additionalInfo;

    public Optional>> additionalInfo() {
        return Optional.ofNullable(this.additionalInfo);
    }

    @Import(name="code")
    private @Nullable Output code;

    public Optional> code() {
        return Optional.ofNullable(this.code);
    }

    @Import(name="details")
    private @Nullable Output> details;

    public Optional>> details() {
        return Optional.ofNullable(this.details);
    }

    @Import(name="message")
    private @Nullable Output message;

    public Optional> message() {
        return Optional.ofNullable(this.message);
    }

    @Import(name="target")
    private @Nullable Output target;

    public Optional> target() {
        return Optional.ofNullable(this.target);
    }

    private ExtendedErrorInfoArgs() {}

    private ExtendedErrorInfoArgs(ExtendedErrorInfoArgs $) {
        this.additionalInfo = $.additionalInfo;
        this.code = $.code;
        this.details = $.details;
        this.message = $.message;
        this.target = $.target;
    }

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

    public static final class Builder {
        private ExtendedErrorInfoArgs $;

        public Builder() {
            $ = new ExtendedErrorInfoArgs();
        }

        public Builder(ExtendedErrorInfoArgs defaults) {
            $ = new ExtendedErrorInfoArgs(Objects.requireNonNull(defaults));
        }

        public Builder additionalInfo(@Nullable Output> additionalInfo) {
            $.additionalInfo = additionalInfo;
            return this;
        }

        public Builder additionalInfo(List additionalInfo) {
            return additionalInfo(Output.of(additionalInfo));
        }

        public Builder additionalInfo(TypedErrorInfoArgs... additionalInfo) {
            return additionalInfo(List.of(additionalInfo));
        }

        public Builder code(@Nullable Output code) {
            $.code = code;
            return this;
        }

        public Builder code(String code) {
            return code(Output.of(code));
        }

        public Builder details(@Nullable Output> details) {
            $.details = details;
            return this;
        }

        public Builder details(List details) {
            return details(Output.of(details));
        }

        public Builder details(ExtendedErrorInfoArgs... details) {
            return details(List.of(details));
        }

        public Builder message(@Nullable Output message) {
            $.message = message;
            return this;
        }

        public Builder message(String message) {
            return message(Output.of(message));
        }

        public Builder target(@Nullable Output target) {
            $.target = target;
            return this;
        }

        public Builder target(String target) {
            return target(Output.of(target));
        }

        public ExtendedErrorInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy