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

com.pulumi.azurenative.logic.inputs.X12SchemaReferenceArgs 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 X12 schema reference.
 * 
 */
public final class X12SchemaReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final X12SchemaReferenceArgs Empty = new X12SchemaReferenceArgs();

    /**
     * The message id.
     * 
     */
    @Import(name="messageId", required=true)
    private Output messageId;

    /**
     * @return The message id.
     * 
     */
    public Output messageId() {
        return this.messageId;
    }

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

    /**
     * @return The schema name.
     * 
     */
    public Output schemaName() {
        return this.schemaName;
    }

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

    /**
     * @return The schema version.
     * 
     */
    public Output schemaVersion() {
        return this.schemaVersion;
    }

    /**
     * The sender application id.
     * 
     */
    @Import(name="senderApplicationId")
    private @Nullable Output senderApplicationId;

    /**
     * @return The sender application id.
     * 
     */
    public Optional> senderApplicationId() {
        return Optional.ofNullable(this.senderApplicationId);
    }

    private X12SchemaReferenceArgs() {}

    private X12SchemaReferenceArgs(X12SchemaReferenceArgs $) {
        this.messageId = $.messageId;
        this.schemaName = $.schemaName;
        this.schemaVersion = $.schemaVersion;
        this.senderApplicationId = $.senderApplicationId;
    }

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

    public static final class Builder {
        private X12SchemaReferenceArgs $;

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

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

        /**
         * @param messageId The message id.
         * 
         * @return builder
         * 
         */
        public Builder messageId(Output messageId) {
            $.messageId = messageId;
            return this;
        }

        /**
         * @param messageId The message id.
         * 
         * @return builder
         * 
         */
        public Builder messageId(String messageId) {
            return messageId(Output.of(messageId));
        }

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

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

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

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

        /**
         * @param senderApplicationId The sender application id.
         * 
         * @return builder
         * 
         */
        public Builder senderApplicationId(@Nullable Output senderApplicationId) {
            $.senderApplicationId = senderApplicationId;
            return this;
        }

        /**
         * @param senderApplicationId The sender application id.
         * 
         * @return builder
         * 
         */
        public Builder senderApplicationId(String senderApplicationId) {
            return senderApplicationId(Output.of(senderApplicationId));
        }

        public X12SchemaReferenceArgs build() {
            if ($.messageId == null) {
                throw new MissingRequiredPropertyException("X12SchemaReferenceArgs", "messageId");
            }
            if ($.schemaName == null) {
                throw new MissingRequiredPropertyException("X12SchemaReferenceArgs", "schemaName");
            }
            if ($.schemaVersion == null) {
                throw new MissingRequiredPropertyException("X12SchemaReferenceArgs", "schemaVersion");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy