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

com.pulumi.azurenative.logic.inputs.X12EnvelopeOverrideArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurenative.logic.enums.X12DateFormat;
import com.pulumi.azurenative.logic.enums.X12TimeFormat;
import com.pulumi.core.Either;
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 envelope override settings.
 * 
 */
public final class X12EnvelopeOverrideArgs extends com.pulumi.resources.ResourceArgs {

    public static final X12EnvelopeOverrideArgs Empty = new X12EnvelopeOverrideArgs();

    /**
     * The date format.
     * 
     */
    @Import(name="dateFormat", required=true)
    private Output> dateFormat;

    /**
     * @return The date format.
     * 
     */
    public Output> dateFormat() {
        return this.dateFormat;
    }

    /**
     * The functional identifier code.
     * 
     */
    @Import(name="functionalIdentifierCode")
    private @Nullable Output functionalIdentifierCode;

    /**
     * @return The functional identifier code.
     * 
     */
    public Optional> functionalIdentifierCode() {
        return Optional.ofNullable(this.functionalIdentifierCode);
    }

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

    /**
     * @return The header version.
     * 
     */
    public Output headerVersion() {
        return this.headerVersion;
    }

    /**
     * The message id on which this envelope settings has to be applied.
     * 
     */
    @Import(name="messageId", required=true)
    private Output messageId;

    /**
     * @return The message id on which this envelope settings has to be applied.
     * 
     */
    public Output messageId() {
        return this.messageId;
    }

    /**
     * The protocol version on which this envelope settings has to be applied.
     * 
     */
    @Import(name="protocolVersion", required=true)
    private Output protocolVersion;

    /**
     * @return The protocol version on which this envelope settings has to be applied.
     * 
     */
    public Output protocolVersion() {
        return this.protocolVersion;
    }

    /**
     * The receiver application id.
     * 
     */
    @Import(name="receiverApplicationId", required=true)
    private Output receiverApplicationId;

    /**
     * @return The receiver application id.
     * 
     */
    public Output receiverApplicationId() {
        return this.receiverApplicationId;
    }

    /**
     * The responsible agency code.
     * 
     */
    @Import(name="responsibleAgencyCode", required=true)
    private Output responsibleAgencyCode;

    /**
     * @return The responsible agency code.
     * 
     */
    public Output responsibleAgencyCode() {
        return this.responsibleAgencyCode;
    }

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

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

    /**
     * The target namespace on which this envelope settings has to be applied.
     * 
     */
    @Import(name="targetNamespace", required=true)
    private Output targetNamespace;

    /**
     * @return The target namespace on which this envelope settings has to be applied.
     * 
     */
    public Output targetNamespace() {
        return this.targetNamespace;
    }

    /**
     * The time format.
     * 
     */
    @Import(name="timeFormat", required=true)
    private Output> timeFormat;

    /**
     * @return The time format.
     * 
     */
    public Output> timeFormat() {
        return this.timeFormat;
    }

    private X12EnvelopeOverrideArgs() {}

    private X12EnvelopeOverrideArgs(X12EnvelopeOverrideArgs $) {
        this.dateFormat = $.dateFormat;
        this.functionalIdentifierCode = $.functionalIdentifierCode;
        this.headerVersion = $.headerVersion;
        this.messageId = $.messageId;
        this.protocolVersion = $.protocolVersion;
        this.receiverApplicationId = $.receiverApplicationId;
        this.responsibleAgencyCode = $.responsibleAgencyCode;
        this.senderApplicationId = $.senderApplicationId;
        this.targetNamespace = $.targetNamespace;
        this.timeFormat = $.timeFormat;
    }

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

    public static final class Builder {
        private X12EnvelopeOverrideArgs $;

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

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

        /**
         * @param dateFormat The date format.
         * 
         * @return builder
         * 
         */
        public Builder dateFormat(Output> dateFormat) {
            $.dateFormat = dateFormat;
            return this;
        }

        /**
         * @param dateFormat The date format.
         * 
         * @return builder
         * 
         */
        public Builder dateFormat(Either dateFormat) {
            return dateFormat(Output.of(dateFormat));
        }

        /**
         * @param dateFormat The date format.
         * 
         * @return builder
         * 
         */
        public Builder dateFormat(String dateFormat) {
            return dateFormat(Either.ofLeft(dateFormat));
        }

        /**
         * @param dateFormat The date format.
         * 
         * @return builder
         * 
         */
        public Builder dateFormat(X12DateFormat dateFormat) {
            return dateFormat(Either.ofRight(dateFormat));
        }

        /**
         * @param functionalIdentifierCode The functional identifier code.
         * 
         * @return builder
         * 
         */
        public Builder functionalIdentifierCode(@Nullable Output functionalIdentifierCode) {
            $.functionalIdentifierCode = functionalIdentifierCode;
            return this;
        }

        /**
         * @param functionalIdentifierCode The functional identifier code.
         * 
         * @return builder
         * 
         */
        public Builder functionalIdentifierCode(String functionalIdentifierCode) {
            return functionalIdentifierCode(Output.of(functionalIdentifierCode));
        }

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

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

        /**
         * @param messageId The message id on which this envelope settings has to be applied.
         * 
         * @return builder
         * 
         */
        public Builder messageId(Output messageId) {
            $.messageId = messageId;
            return this;
        }

        /**
         * @param messageId The message id on which this envelope settings has to be applied.
         * 
         * @return builder
         * 
         */
        public Builder messageId(String messageId) {
            return messageId(Output.of(messageId));
        }

        /**
         * @param protocolVersion The protocol version on which this envelope settings has to be applied.
         * 
         * @return builder
         * 
         */
        public Builder protocolVersion(Output protocolVersion) {
            $.protocolVersion = protocolVersion;
            return this;
        }

        /**
         * @param protocolVersion The protocol version on which this envelope settings has to be applied.
         * 
         * @return builder
         * 
         */
        public Builder protocolVersion(String protocolVersion) {
            return protocolVersion(Output.of(protocolVersion));
        }

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

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

        /**
         * @param responsibleAgencyCode The responsible agency code.
         * 
         * @return builder
         * 
         */
        public Builder responsibleAgencyCode(Output responsibleAgencyCode) {
            $.responsibleAgencyCode = responsibleAgencyCode;
            return this;
        }

        /**
         * @param responsibleAgencyCode The responsible agency code.
         * 
         * @return builder
         * 
         */
        public Builder responsibleAgencyCode(String responsibleAgencyCode) {
            return responsibleAgencyCode(Output.of(responsibleAgencyCode));
        }

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

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

        /**
         * @param targetNamespace The target namespace on which this envelope settings has to be applied.
         * 
         * @return builder
         * 
         */
        public Builder targetNamespace(Output targetNamespace) {
            $.targetNamespace = targetNamespace;
            return this;
        }

        /**
         * @param targetNamespace The target namespace on which this envelope settings has to be applied.
         * 
         * @return builder
         * 
         */
        public Builder targetNamespace(String targetNamespace) {
            return targetNamespace(Output.of(targetNamespace));
        }

        /**
         * @param timeFormat The time format.
         * 
         * @return builder
         * 
         */
        public Builder timeFormat(Output> timeFormat) {
            $.timeFormat = timeFormat;
            return this;
        }

        /**
         * @param timeFormat The time format.
         * 
         * @return builder
         * 
         */
        public Builder timeFormat(Either timeFormat) {
            return timeFormat(Output.of(timeFormat));
        }

        /**
         * @param timeFormat The time format.
         * 
         * @return builder
         * 
         */
        public Builder timeFormat(String timeFormat) {
            return timeFormat(Either.ofLeft(timeFormat));
        }

        /**
         * @param timeFormat The time format.
         * 
         * @return builder
         * 
         */
        public Builder timeFormat(X12TimeFormat timeFormat) {
            return timeFormat(Either.ofRight(timeFormat));
        }

        public X12EnvelopeOverrideArgs build() {
            if ($.dateFormat == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "dateFormat");
            }
            if ($.headerVersion == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "headerVersion");
            }
            if ($.messageId == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "messageId");
            }
            if ($.protocolVersion == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "protocolVersion");
            }
            if ($.receiverApplicationId == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "receiverApplicationId");
            }
            if ($.responsibleAgencyCode == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "responsibleAgencyCode");
            }
            if ($.senderApplicationId == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "senderApplicationId");
            }
            if ($.targetNamespace == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "targetNamespace");
            }
            if ($.timeFormat == null) {
                throw new MissingRequiredPropertyException("X12EnvelopeOverrideArgs", "timeFormat");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy