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

com.pulumi.azurenative.logic.inputs.X12ProtocolSettingsArgs 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.inputs.X12AcknowledgementSettingsArgs;
import com.pulumi.azurenative.logic.inputs.X12DelimiterOverridesArgs;
import com.pulumi.azurenative.logic.inputs.X12EnvelopeOverrideArgs;
import com.pulumi.azurenative.logic.inputs.X12EnvelopeSettingsArgs;
import com.pulumi.azurenative.logic.inputs.X12FramingSettingsArgs;
import com.pulumi.azurenative.logic.inputs.X12MessageFilterArgs;
import com.pulumi.azurenative.logic.inputs.X12MessageIdentifierArgs;
import com.pulumi.azurenative.logic.inputs.X12ProcessingSettingsArgs;
import com.pulumi.azurenative.logic.inputs.X12SchemaReferenceArgs;
import com.pulumi.azurenative.logic.inputs.X12SecuritySettingsArgs;
import com.pulumi.azurenative.logic.inputs.X12ValidationOverrideArgs;
import com.pulumi.azurenative.logic.inputs.X12ValidationSettingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The X12 agreement protocol settings.
 * 
 */
public final class X12ProtocolSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final X12ProtocolSettingsArgs Empty = new X12ProtocolSettingsArgs();

    /**
     * The X12 acknowledgment settings.
     * 
     */
    @Import(name="acknowledgementSettings", required=true)
    private Output acknowledgementSettings;

    /**
     * @return The X12 acknowledgment settings.
     * 
     */
    public Output acknowledgementSettings() {
        return this.acknowledgementSettings;
    }

    /**
     * The X12 envelope override settings.
     * 
     */
    @Import(name="envelopeOverrides")
    private @Nullable Output> envelopeOverrides;

    /**
     * @return The X12 envelope override settings.
     * 
     */
    public Optional>> envelopeOverrides() {
        return Optional.ofNullable(this.envelopeOverrides);
    }

    /**
     * The X12 envelope settings.
     * 
     */
    @Import(name="envelopeSettings", required=true)
    private Output envelopeSettings;

    /**
     * @return The X12 envelope settings.
     * 
     */
    public Output envelopeSettings() {
        return this.envelopeSettings;
    }

    /**
     * The X12 framing settings.
     * 
     */
    @Import(name="framingSettings", required=true)
    private Output framingSettings;

    /**
     * @return The X12 framing settings.
     * 
     */
    public Output framingSettings() {
        return this.framingSettings;
    }

    /**
     * The X12 message filter.
     * 
     */
    @Import(name="messageFilter", required=true)
    private Output messageFilter;

    /**
     * @return The X12 message filter.
     * 
     */
    public Output messageFilter() {
        return this.messageFilter;
    }

    /**
     * The X12 message filter list.
     * 
     */
    @Import(name="messageFilterList")
    private @Nullable Output> messageFilterList;

    /**
     * @return The X12 message filter list.
     * 
     */
    public Optional>> messageFilterList() {
        return Optional.ofNullable(this.messageFilterList);
    }

    /**
     * The X12 processing settings.
     * 
     */
    @Import(name="processingSettings", required=true)
    private Output processingSettings;

    /**
     * @return The X12 processing settings.
     * 
     */
    public Output processingSettings() {
        return this.processingSettings;
    }

    /**
     * The X12 schema references.
     * 
     */
    @Import(name="schemaReferences", required=true)
    private Output> schemaReferences;

    /**
     * @return The X12 schema references.
     * 
     */
    public Output> schemaReferences() {
        return this.schemaReferences;
    }

    /**
     * The X12 security settings.
     * 
     */
    @Import(name="securitySettings", required=true)
    private Output securitySettings;

    /**
     * @return The X12 security settings.
     * 
     */
    public Output securitySettings() {
        return this.securitySettings;
    }

    /**
     * The X12 validation override settings.
     * 
     */
    @Import(name="validationOverrides")
    private @Nullable Output> validationOverrides;

    /**
     * @return The X12 validation override settings.
     * 
     */
    public Optional>> validationOverrides() {
        return Optional.ofNullable(this.validationOverrides);
    }

    /**
     * The X12 validation settings.
     * 
     */
    @Import(name="validationSettings", required=true)
    private Output validationSettings;

    /**
     * @return The X12 validation settings.
     * 
     */
    public Output validationSettings() {
        return this.validationSettings;
    }

    /**
     * The X12 delimiter override settings.
     * 
     */
    @Import(name="x12DelimiterOverrides")
    private @Nullable Output> x12DelimiterOverrides;

    /**
     * @return The X12 delimiter override settings.
     * 
     */
    public Optional>> x12DelimiterOverrides() {
        return Optional.ofNullable(this.x12DelimiterOverrides);
    }

    private X12ProtocolSettingsArgs() {}

    private X12ProtocolSettingsArgs(X12ProtocolSettingsArgs $) {
        this.acknowledgementSettings = $.acknowledgementSettings;
        this.envelopeOverrides = $.envelopeOverrides;
        this.envelopeSettings = $.envelopeSettings;
        this.framingSettings = $.framingSettings;
        this.messageFilter = $.messageFilter;
        this.messageFilterList = $.messageFilterList;
        this.processingSettings = $.processingSettings;
        this.schemaReferences = $.schemaReferences;
        this.securitySettings = $.securitySettings;
        this.validationOverrides = $.validationOverrides;
        this.validationSettings = $.validationSettings;
        this.x12DelimiterOverrides = $.x12DelimiterOverrides;
    }

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

    public static final class Builder {
        private X12ProtocolSettingsArgs $;

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

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

        /**
         * @param acknowledgementSettings The X12 acknowledgment settings.
         * 
         * @return builder
         * 
         */
        public Builder acknowledgementSettings(Output acknowledgementSettings) {
            $.acknowledgementSettings = acknowledgementSettings;
            return this;
        }

        /**
         * @param acknowledgementSettings The X12 acknowledgment settings.
         * 
         * @return builder
         * 
         */
        public Builder acknowledgementSettings(X12AcknowledgementSettingsArgs acknowledgementSettings) {
            return acknowledgementSettings(Output.of(acknowledgementSettings));
        }

        /**
         * @param envelopeOverrides The X12 envelope override settings.
         * 
         * @return builder
         * 
         */
        public Builder envelopeOverrides(@Nullable Output> envelopeOverrides) {
            $.envelopeOverrides = envelopeOverrides;
            return this;
        }

        /**
         * @param envelopeOverrides The X12 envelope override settings.
         * 
         * @return builder
         * 
         */
        public Builder envelopeOverrides(List envelopeOverrides) {
            return envelopeOverrides(Output.of(envelopeOverrides));
        }

        /**
         * @param envelopeOverrides The X12 envelope override settings.
         * 
         * @return builder
         * 
         */
        public Builder envelopeOverrides(X12EnvelopeOverrideArgs... envelopeOverrides) {
            return envelopeOverrides(List.of(envelopeOverrides));
        }

        /**
         * @param envelopeSettings The X12 envelope settings.
         * 
         * @return builder
         * 
         */
        public Builder envelopeSettings(Output envelopeSettings) {
            $.envelopeSettings = envelopeSettings;
            return this;
        }

        /**
         * @param envelopeSettings The X12 envelope settings.
         * 
         * @return builder
         * 
         */
        public Builder envelopeSettings(X12EnvelopeSettingsArgs envelopeSettings) {
            return envelopeSettings(Output.of(envelopeSettings));
        }

        /**
         * @param framingSettings The X12 framing settings.
         * 
         * @return builder
         * 
         */
        public Builder framingSettings(Output framingSettings) {
            $.framingSettings = framingSettings;
            return this;
        }

        /**
         * @param framingSettings The X12 framing settings.
         * 
         * @return builder
         * 
         */
        public Builder framingSettings(X12FramingSettingsArgs framingSettings) {
            return framingSettings(Output.of(framingSettings));
        }

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

        /**
         * @param messageFilter The X12 message filter.
         * 
         * @return builder
         * 
         */
        public Builder messageFilter(X12MessageFilterArgs messageFilter) {
            return messageFilter(Output.of(messageFilter));
        }

        /**
         * @param messageFilterList The X12 message filter list.
         * 
         * @return builder
         * 
         */
        public Builder messageFilterList(@Nullable Output> messageFilterList) {
            $.messageFilterList = messageFilterList;
            return this;
        }

        /**
         * @param messageFilterList The X12 message filter list.
         * 
         * @return builder
         * 
         */
        public Builder messageFilterList(List messageFilterList) {
            return messageFilterList(Output.of(messageFilterList));
        }

        /**
         * @param messageFilterList The X12 message filter list.
         * 
         * @return builder
         * 
         */
        public Builder messageFilterList(X12MessageIdentifierArgs... messageFilterList) {
            return messageFilterList(List.of(messageFilterList));
        }

        /**
         * @param processingSettings The X12 processing settings.
         * 
         * @return builder
         * 
         */
        public Builder processingSettings(Output processingSettings) {
            $.processingSettings = processingSettings;
            return this;
        }

        /**
         * @param processingSettings The X12 processing settings.
         * 
         * @return builder
         * 
         */
        public Builder processingSettings(X12ProcessingSettingsArgs processingSettings) {
            return processingSettings(Output.of(processingSettings));
        }

        /**
         * @param schemaReferences The X12 schema references.
         * 
         * @return builder
         * 
         */
        public Builder schemaReferences(Output> schemaReferences) {
            $.schemaReferences = schemaReferences;
            return this;
        }

        /**
         * @param schemaReferences The X12 schema references.
         * 
         * @return builder
         * 
         */
        public Builder schemaReferences(List schemaReferences) {
            return schemaReferences(Output.of(schemaReferences));
        }

        /**
         * @param schemaReferences The X12 schema references.
         * 
         * @return builder
         * 
         */
        public Builder schemaReferences(X12SchemaReferenceArgs... schemaReferences) {
            return schemaReferences(List.of(schemaReferences));
        }

        /**
         * @param securitySettings The X12 security settings.
         * 
         * @return builder
         * 
         */
        public Builder securitySettings(Output securitySettings) {
            $.securitySettings = securitySettings;
            return this;
        }

        /**
         * @param securitySettings The X12 security settings.
         * 
         * @return builder
         * 
         */
        public Builder securitySettings(X12SecuritySettingsArgs securitySettings) {
            return securitySettings(Output.of(securitySettings));
        }

        /**
         * @param validationOverrides The X12 validation override settings.
         * 
         * @return builder
         * 
         */
        public Builder validationOverrides(@Nullable Output> validationOverrides) {
            $.validationOverrides = validationOverrides;
            return this;
        }

        /**
         * @param validationOverrides The X12 validation override settings.
         * 
         * @return builder
         * 
         */
        public Builder validationOverrides(List validationOverrides) {
            return validationOverrides(Output.of(validationOverrides));
        }

        /**
         * @param validationOverrides The X12 validation override settings.
         * 
         * @return builder
         * 
         */
        public Builder validationOverrides(X12ValidationOverrideArgs... validationOverrides) {
            return validationOverrides(List.of(validationOverrides));
        }

        /**
         * @param validationSettings The X12 validation settings.
         * 
         * @return builder
         * 
         */
        public Builder validationSettings(Output validationSettings) {
            $.validationSettings = validationSettings;
            return this;
        }

        /**
         * @param validationSettings The X12 validation settings.
         * 
         * @return builder
         * 
         */
        public Builder validationSettings(X12ValidationSettingsArgs validationSettings) {
            return validationSettings(Output.of(validationSettings));
        }

        /**
         * @param x12DelimiterOverrides The X12 delimiter override settings.
         * 
         * @return builder
         * 
         */
        public Builder x12DelimiterOverrides(@Nullable Output> x12DelimiterOverrides) {
            $.x12DelimiterOverrides = x12DelimiterOverrides;
            return this;
        }

        /**
         * @param x12DelimiterOverrides The X12 delimiter override settings.
         * 
         * @return builder
         * 
         */
        public Builder x12DelimiterOverrides(List x12DelimiterOverrides) {
            return x12DelimiterOverrides(Output.of(x12DelimiterOverrides));
        }

        /**
         * @param x12DelimiterOverrides The X12 delimiter override settings.
         * 
         * @return builder
         * 
         */
        public Builder x12DelimiterOverrides(X12DelimiterOverridesArgs... x12DelimiterOverrides) {
            return x12DelimiterOverrides(List.of(x12DelimiterOverrides));
        }

        public X12ProtocolSettingsArgs build() {
            if ($.acknowledgementSettings == null) {
                throw new MissingRequiredPropertyException("X12ProtocolSettingsArgs", "acknowledgementSettings");
            }
            if ($.envelopeSettings == null) {
                throw new MissingRequiredPropertyException("X12ProtocolSettingsArgs", "envelopeSettings");
            }
            if ($.framingSettings == null) {
                throw new MissingRequiredPropertyException("X12ProtocolSettingsArgs", "framingSettings");
            }
            if ($.messageFilter == null) {
                throw new MissingRequiredPropertyException("X12ProtocolSettingsArgs", "messageFilter");
            }
            if ($.processingSettings == null) {
                throw new MissingRequiredPropertyException("X12ProtocolSettingsArgs", "processingSettings");
            }
            if ($.schemaReferences == null) {
                throw new MissingRequiredPropertyException("X12ProtocolSettingsArgs", "schemaReferences");
            }
            if ($.securitySettings == null) {
                throw new MissingRequiredPropertyException("X12ProtocolSettingsArgs", "securitySettings");
            }
            if ($.validationSettings == null) {
                throw new MissingRequiredPropertyException("X12ProtocolSettingsArgs", "validationSettings");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy