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

com.pulumi.azurenative.logic.kotlin.inputs.AS2AcknowledgementConnectionSettingsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.logic.kotlin.inputs

import com.pulumi.azurenative.logic.inputs.AS2AcknowledgementConnectionSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The AS2 agreement acknowledgement connection settings.
 * @property ignoreCertificateNameMismatch Indicates whether to ignore mismatch in certificate name.
 * @property keepHttpConnectionAlive Indicates whether to keep the connection alive.
 * @property supportHttpStatusCodeContinue Indicates whether to support HTTP status code 'CONTINUE'.
 * @property unfoldHttpHeaders Indicates whether to unfold the HTTP headers.
 */
public data class AS2AcknowledgementConnectionSettingsArgs(
    public val ignoreCertificateNameMismatch: Output,
    public val keepHttpConnectionAlive: Output,
    public val supportHttpStatusCodeContinue: Output,
    public val unfoldHttpHeaders: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.logic.inputs.AS2AcknowledgementConnectionSettingsArgs =
        com.pulumi.azurenative.logic.inputs.AS2AcknowledgementConnectionSettingsArgs.builder()
            .ignoreCertificateNameMismatch(ignoreCertificateNameMismatch.applyValue({ args0 -> args0 }))
            .keepHttpConnectionAlive(keepHttpConnectionAlive.applyValue({ args0 -> args0 }))
            .supportHttpStatusCodeContinue(supportHttpStatusCodeContinue.applyValue({ args0 -> args0 }))
            .unfoldHttpHeaders(unfoldHttpHeaders.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AS2AcknowledgementConnectionSettingsArgs].
 */
@PulumiTagMarker
public class AS2AcknowledgementConnectionSettingsArgsBuilder internal constructor() {
    private var ignoreCertificateNameMismatch: Output? = null

    private var keepHttpConnectionAlive: Output? = null

    private var supportHttpStatusCodeContinue: Output? = null

    private var unfoldHttpHeaders: Output? = null

    /**
     * @param value Indicates whether to ignore mismatch in certificate name.
     */
    @JvmName("frufecagumjdwdjb")
    public suspend fun ignoreCertificateNameMismatch(`value`: Output) {
        this.ignoreCertificateNameMismatch = value
    }

    /**
     * @param value Indicates whether to keep the connection alive.
     */
    @JvmName("ogycqpqlggxjjpmr")
    public suspend fun keepHttpConnectionAlive(`value`: Output) {
        this.keepHttpConnectionAlive = value
    }

    /**
     * @param value Indicates whether to support HTTP status code 'CONTINUE'.
     */
    @JvmName("ksdkgvjgdjmnrtsl")
    public suspend fun supportHttpStatusCodeContinue(`value`: Output) {
        this.supportHttpStatusCodeContinue = value
    }

    /**
     * @param value Indicates whether to unfold the HTTP headers.
     */
    @JvmName("vbemwgfrkdnpgbwy")
    public suspend fun unfoldHttpHeaders(`value`: Output) {
        this.unfoldHttpHeaders = value
    }

    /**
     * @param value Indicates whether to ignore mismatch in certificate name.
     */
    @JvmName("jbgwsdahsvtlfgxh")
    public suspend fun ignoreCertificateNameMismatch(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ignoreCertificateNameMismatch = mapped
    }

    /**
     * @param value Indicates whether to keep the connection alive.
     */
    @JvmName("ialdhyyrvratadqi")
    public suspend fun keepHttpConnectionAlive(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keepHttpConnectionAlive = mapped
    }

    /**
     * @param value Indicates whether to support HTTP status code 'CONTINUE'.
     */
    @JvmName("jgutykbyecqnliox")
    public suspend fun supportHttpStatusCodeContinue(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.supportHttpStatusCodeContinue = mapped
    }

    /**
     * @param value Indicates whether to unfold the HTTP headers.
     */
    @JvmName("tthaswpfhxxochxl")
    public suspend fun unfoldHttpHeaders(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.unfoldHttpHeaders = mapped
    }

    internal fun build(): AS2AcknowledgementConnectionSettingsArgs =
        AS2AcknowledgementConnectionSettingsArgs(
            ignoreCertificateNameMismatch = ignoreCertificateNameMismatch ?: throw
                PulumiNullFieldException("ignoreCertificateNameMismatch"),
            keepHttpConnectionAlive = keepHttpConnectionAlive ?: throw
                PulumiNullFieldException("keepHttpConnectionAlive"),
            supportHttpStatusCodeContinue = supportHttpStatusCodeContinue ?: throw
                PulumiNullFieldException("supportHttpStatusCodeContinue"),
            unfoldHttpHeaders = unfoldHttpHeaders ?: throw PulumiNullFieldException("unfoldHttpHeaders"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy