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

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

The 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 message connection settings.
 * 
 */
public final class AS2MessageConnectionSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final AS2MessageConnectionSettingsArgs Empty = new AS2MessageConnectionSettingsArgs();

    /**
     * The value indicating whether to ignore mismatch in certificate name.
     * 
     */
    @Import(name="ignoreCertificateNameMismatch", required=true)
    private Output ignoreCertificateNameMismatch;

    /**
     * @return The value indicating whether to ignore mismatch in certificate name.
     * 
     */
    public Output ignoreCertificateNameMismatch() {
        return this.ignoreCertificateNameMismatch;
    }

    /**
     * The value indicating whether to keep the connection alive.
     * 
     */
    @Import(name="keepHttpConnectionAlive", required=true)
    private Output keepHttpConnectionAlive;

    /**
     * @return The value indicating whether to keep the connection alive.
     * 
     */
    public Output keepHttpConnectionAlive() {
        return this.keepHttpConnectionAlive;
    }

    /**
     * The value indicating whether to support HTTP status code 'CONTINUE'.
     * 
     */
    @Import(name="supportHttpStatusCodeContinue", required=true)
    private Output supportHttpStatusCodeContinue;

    /**
     * @return The value indicating whether to support HTTP status code 'CONTINUE'.
     * 
     */
    public Output supportHttpStatusCodeContinue() {
        return this.supportHttpStatusCodeContinue;
    }

    /**
     * The value indicating whether to unfold the HTTP headers.
     * 
     */
    @Import(name="unfoldHttpHeaders", required=true)
    private Output unfoldHttpHeaders;

    /**
     * @return The value indicating whether to unfold the HTTP headers.
     * 
     */
    public Output unfoldHttpHeaders() {
        return this.unfoldHttpHeaders;
    }

    private AS2MessageConnectionSettingsArgs() {}

    private AS2MessageConnectionSettingsArgs(AS2MessageConnectionSettingsArgs $) {
        this.ignoreCertificateNameMismatch = $.ignoreCertificateNameMismatch;
        this.keepHttpConnectionAlive = $.keepHttpConnectionAlive;
        this.supportHttpStatusCodeContinue = $.supportHttpStatusCodeContinue;
        this.unfoldHttpHeaders = $.unfoldHttpHeaders;
    }

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

    public static final class Builder {
        private AS2MessageConnectionSettingsArgs $;

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

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

        /**
         * @param ignoreCertificateNameMismatch The value indicating whether to ignore mismatch in certificate name.
         * 
         * @return builder
         * 
         */
        public Builder ignoreCertificateNameMismatch(Output ignoreCertificateNameMismatch) {
            $.ignoreCertificateNameMismatch = ignoreCertificateNameMismatch;
            return this;
        }

        /**
         * @param ignoreCertificateNameMismatch The value indicating whether to ignore mismatch in certificate name.
         * 
         * @return builder
         * 
         */
        public Builder ignoreCertificateNameMismatch(Boolean ignoreCertificateNameMismatch) {
            return ignoreCertificateNameMismatch(Output.of(ignoreCertificateNameMismatch));
        }

        /**
         * @param keepHttpConnectionAlive The value indicating whether to keep the connection alive.
         * 
         * @return builder
         * 
         */
        public Builder keepHttpConnectionAlive(Output keepHttpConnectionAlive) {
            $.keepHttpConnectionAlive = keepHttpConnectionAlive;
            return this;
        }

        /**
         * @param keepHttpConnectionAlive The value indicating whether to keep the connection alive.
         * 
         * @return builder
         * 
         */
        public Builder keepHttpConnectionAlive(Boolean keepHttpConnectionAlive) {
            return keepHttpConnectionAlive(Output.of(keepHttpConnectionAlive));
        }

        /**
         * @param supportHttpStatusCodeContinue The value indicating whether to support HTTP status code 'CONTINUE'.
         * 
         * @return builder
         * 
         */
        public Builder supportHttpStatusCodeContinue(Output supportHttpStatusCodeContinue) {
            $.supportHttpStatusCodeContinue = supportHttpStatusCodeContinue;
            return this;
        }

        /**
         * @param supportHttpStatusCodeContinue The value indicating whether to support HTTP status code 'CONTINUE'.
         * 
         * @return builder
         * 
         */
        public Builder supportHttpStatusCodeContinue(Boolean supportHttpStatusCodeContinue) {
            return supportHttpStatusCodeContinue(Output.of(supportHttpStatusCodeContinue));
        }

        /**
         * @param unfoldHttpHeaders The value indicating whether to unfold the HTTP headers.
         * 
         * @return builder
         * 
         */
        public Builder unfoldHttpHeaders(Output unfoldHttpHeaders) {
            $.unfoldHttpHeaders = unfoldHttpHeaders;
            return this;
        }

        /**
         * @param unfoldHttpHeaders The value indicating whether to unfold the HTTP headers.
         * 
         * @return builder
         * 
         */
        public Builder unfoldHttpHeaders(Boolean unfoldHttpHeaders) {
            return unfoldHttpHeaders(Output.of(unfoldHttpHeaders));
        }

        public AS2MessageConnectionSettingsArgs build() {
            if ($.ignoreCertificateNameMismatch == null) {
                throw new MissingRequiredPropertyException("AS2MessageConnectionSettingsArgs", "ignoreCertificateNameMismatch");
            }
            if ($.keepHttpConnectionAlive == null) {
                throw new MissingRequiredPropertyException("AS2MessageConnectionSettingsArgs", "keepHttpConnectionAlive");
            }
            if ($.supportHttpStatusCodeContinue == null) {
                throw new MissingRequiredPropertyException("AS2MessageConnectionSettingsArgs", "supportHttpStatusCodeContinue");
            }
            if ($.unfoldHttpHeaders == null) {
                throw new MissingRequiredPropertyException("AS2MessageConnectionSettingsArgs", "unfoldHttpHeaders");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy