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

com.pulumi.azurenative.logic.inputs.RosettaNetPipBusinessDocumentArgs 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.logic.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The RosettaNet ProcessConfiguration business document settings.
 * 
 */
public final class RosettaNetPipBusinessDocumentArgs extends com.pulumi.resources.ResourceArgs {

    public static final RosettaNetPipBusinessDocumentArgs Empty = new RosettaNetPipBusinessDocumentArgs();

    /**
     * The business document description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The business document description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The business document name.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The business document name.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The business document version.
     * 
     */
    @Import(name="version", required=true)
    private Output version;

    /**
     * @return The business document version.
     * 
     */
    public Output version() {
        return this.version;
    }

    private RosettaNetPipBusinessDocumentArgs() {}

    private RosettaNetPipBusinessDocumentArgs(RosettaNetPipBusinessDocumentArgs $) {
        this.description = $.description;
        this.name = $.name;
        this.version = $.version;
    }

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

    public static final class Builder {
        private RosettaNetPipBusinessDocumentArgs $;

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

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

        /**
         * @param description The business document description.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The business document description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param name The business document name.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The business document name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param version The business document version.
         * 
         * @return builder
         * 
         */
        public Builder version(Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The business document version.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public RosettaNetPipBusinessDocumentArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("RosettaNetPipBusinessDocumentArgs", "name");
            }
            if ($.version == null) {
                throw new MissingRequiredPropertyException("RosettaNetPipBusinessDocumentArgs", "version");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy