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

com.pulumi.azurenative.logic.inputs.AS2ErrorSettingsArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;


/**
 * The AS2 agreement error settings.
 * 
 */
public final class AS2ErrorSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final AS2ErrorSettingsArgs Empty = new AS2ErrorSettingsArgs();

    /**
     * The value indicating whether to resend message If MDN is not received.
     * 
     */
    @Import(name="resendIfMDNNotReceived", required=true)
    private Output resendIfMDNNotReceived;

    /**
     * @return The value indicating whether to resend message If MDN is not received.
     * 
     */
    public Output resendIfMDNNotReceived() {
        return this.resendIfMDNNotReceived;
    }

    /**
     * The value indicating whether to suspend duplicate message.
     * 
     */
    @Import(name="suspendDuplicateMessage", required=true)
    private Output suspendDuplicateMessage;

    /**
     * @return The value indicating whether to suspend duplicate message.
     * 
     */
    public Output suspendDuplicateMessage() {
        return this.suspendDuplicateMessage;
    }

    private AS2ErrorSettingsArgs() {}

    private AS2ErrorSettingsArgs(AS2ErrorSettingsArgs $) {
        this.resendIfMDNNotReceived = $.resendIfMDNNotReceived;
        this.suspendDuplicateMessage = $.suspendDuplicateMessage;
    }

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

    public static final class Builder {
        private AS2ErrorSettingsArgs $;

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

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

        /**
         * @param resendIfMDNNotReceived The value indicating whether to resend message If MDN is not received.
         * 
         * @return builder
         * 
         */
        public Builder resendIfMDNNotReceived(Output resendIfMDNNotReceived) {
            $.resendIfMDNNotReceived = resendIfMDNNotReceived;
            return this;
        }

        /**
         * @param resendIfMDNNotReceived The value indicating whether to resend message If MDN is not received.
         * 
         * @return builder
         * 
         */
        public Builder resendIfMDNNotReceived(Boolean resendIfMDNNotReceived) {
            return resendIfMDNNotReceived(Output.of(resendIfMDNNotReceived));
        }

        /**
         * @param suspendDuplicateMessage The value indicating whether to suspend duplicate message.
         * 
         * @return builder
         * 
         */
        public Builder suspendDuplicateMessage(Output suspendDuplicateMessage) {
            $.suspendDuplicateMessage = suspendDuplicateMessage;
            return this;
        }

        /**
         * @param suspendDuplicateMessage The value indicating whether to suspend duplicate message.
         * 
         * @return builder
         * 
         */
        public Builder suspendDuplicateMessage(Boolean suspendDuplicateMessage) {
            return suspendDuplicateMessage(Output.of(suspendDuplicateMessage));
        }

        public AS2ErrorSettingsArgs build() {
            if ($.resendIfMDNNotReceived == null) {
                throw new MissingRequiredPropertyException("AS2ErrorSettingsArgs", "resendIfMDNNotReceived");
            }
            if ($.suspendDuplicateMessage == null) {
                throw new MissingRequiredPropertyException("AS2ErrorSettingsArgs", "suspendDuplicateMessage");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy