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

com.pulumi.azurenative.migrate.kotlin.inputs.ApacheTomcatWebApplicationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.migrate.kotlin.inputs

import com.pulumi.azurenative.migrate.inputs.ApacheTomcatWebApplicationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * ApacheTomcat web application.
 * @property applicationId Gets or sets the web application id.
 * @property applicationName Gets or sets the web application name.
 * @property applicationScratchPath Gets or sets application scratch path.
 * @property bindings Gets or sets the bindings for the application.
 * @property configurations Gets or sets application configuration.
 * @property directories Gets or sets application directories.
 * @property discoveredFrameworks Gets or sets the discovered frameworks of application.
 * @property displayName Gets or sets the display name.
 * @property limits Resource Requirements.
 * @property path Second level entity for virtual directories.
 * @property primaryFramework Framework specific data for a web application.
 * @property requests Resource Requirements.
 * @property webServerId Gets or sets the web server id.
 * @property webServerName Gets or sets the web server name.
 */
public data class ApacheTomcatWebApplicationArgs(
    public val applicationId: Output? = null,
    public val applicationName: Output? = null,
    public val applicationScratchPath: Output? = null,
    public val bindings: Output>? = null,
    public val configurations: Output>? = null,
    public val directories: Output>? = null,
    public val discoveredFrameworks: Output>? = null,
    public val displayName: Output? = null,
    public val limits: Output? = null,
    public val path: Output? = null,
    public val primaryFramework: Output? = null,
    public val requests: Output? = null,
    public val webServerId: Output? = null,
    public val webServerName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.ApacheTomcatWebApplicationArgs =
        com.pulumi.azurenative.migrate.inputs.ApacheTomcatWebApplicationArgs.builder()
            .applicationId(applicationId?.applyValue({ args0 -> args0 }))
            .applicationName(applicationName?.applyValue({ args0 -> args0 }))
            .applicationScratchPath(applicationScratchPath?.applyValue({ args0 -> args0 }))
            .bindings(
                bindings?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .configurations(
                configurations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .directories(
                directories?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .discoveredFrameworks(
                discoveredFrameworks?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .displayName(displayName?.applyValue({ args0 -> args0 }))
            .limits(limits?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .path(path?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .primaryFramework(primaryFramework?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .requests(requests?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .webServerId(webServerId?.applyValue({ args0 -> args0 }))
            .webServerName(webServerName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApacheTomcatWebApplicationArgs].
 */
@PulumiTagMarker
public class ApacheTomcatWebApplicationArgsBuilder internal constructor() {
    private var applicationId: Output? = null

    private var applicationName: Output? = null

    private var applicationScratchPath: Output? = null

    private var bindings: Output>? = null

    private var configurations: Output>? = null

    private var directories: Output>? = null

    private var discoveredFrameworks: Output>? = null

    private var displayName: Output? = null

    private var limits: Output? = null

    private var path: Output? = null

    private var primaryFramework: Output? = null

    private var requests: Output? = null

    private var webServerId: Output? = null

    private var webServerName: Output? = null

    /**
     * @param value Gets or sets the web application id.
     */
    @JvmName("heepfadasoodqbhi")
    public suspend fun applicationId(`value`: Output) {
        this.applicationId = value
    }

    /**
     * @param value Gets or sets the web application name.
     */
    @JvmName("rcdbflauplybpjbk")
    public suspend fun applicationName(`value`: Output) {
        this.applicationName = value
    }

    /**
     * @param value Gets or sets application scratch path.
     */
    @JvmName("pjiquhbulhknhvgn")
    public suspend fun applicationScratchPath(`value`: Output) {
        this.applicationScratchPath = value
    }

    /**
     * @param value Gets or sets the bindings for the application.
     */
    @JvmName("iuouvewhcfegnwew")
    public suspend fun bindings(`value`: Output>) {
        this.bindings = value
    }

    @JvmName("dvkhnqtalhwwckvf")
    public suspend fun bindings(vararg values: Output) {
        this.bindings = Output.all(values.asList())
    }

    /**
     * @param values Gets or sets the bindings for the application.
     */
    @JvmName("wfhkulxmpqltmjqh")
    public suspend fun bindings(values: List>) {
        this.bindings = Output.all(values)
    }

    /**
     * @param value Gets or sets application configuration.
     */
    @JvmName("fdagwdxurygewokp")
    public suspend fun configurations(`value`: Output>) {
        this.configurations = value
    }

    @JvmName("apmrgvvccwvdbgau")
    public suspend fun configurations(vararg values: Output) {
        this.configurations = Output.all(values.asList())
    }

    /**
     * @param values Gets or sets application configuration.
     */
    @JvmName("vwubcetwwrglenjc")
    public suspend fun configurations(values: List>) {
        this.configurations = Output.all(values)
    }

    /**
     * @param value Gets or sets application directories.
     */
    @JvmName("pajbceigyrjcblip")
    public suspend fun directories(`value`: Output>) {
        this.directories = value
    }

    @JvmName("jwaajnsqvgwhepim")
    public suspend fun directories(vararg values: Output) {
        this.directories = Output.all(values.asList())
    }

    /**
     * @param values Gets or sets application directories.
     */
    @JvmName("hlpidbgraywjhyuq")
    public suspend fun directories(values: List>) {
        this.directories = Output.all(values)
    }

    /**
     * @param value Gets or sets the discovered frameworks of application.
     */
    @JvmName("ljjobmxwyvqtyqjt")
    public suspend fun discoveredFrameworks(`value`: Output>) {
        this.discoveredFrameworks = value
    }

    @JvmName("ttdirrobakkwpgws")
    public suspend fun discoveredFrameworks(vararg values: Output) {
        this.discoveredFrameworks = Output.all(values.asList())
    }

    /**
     * @param values Gets or sets the discovered frameworks of application.
     */
    @JvmName("ihtdgypaaxepfqca")
    public suspend fun discoveredFrameworks(values: List>) {
        this.discoveredFrameworks = Output.all(values)
    }

    /**
     * @param value Gets or sets the display name.
     */
    @JvmName("ywpcrhrgqnaimslg")
    public suspend fun displayName(`value`: Output) {
        this.displayName = value
    }

    /**
     * @param value Resource Requirements.
     */
    @JvmName("adrqqfbrfqcmufcc")
    public suspend fun limits(`value`: Output) {
        this.limits = value
    }

    /**
     * @param value Second level entity for virtual directories.
     */
    @JvmName("bgsrcgoiveyvibob")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value Framework specific data for a web application.
     */
    @JvmName("oruvbeyaclqcigae")
    public suspend fun primaryFramework(`value`: Output) {
        this.primaryFramework = value
    }

    /**
     * @param value Resource Requirements.
     */
    @JvmName("cjrdxtguscsraqwh")
    public suspend fun requests(`value`: Output) {
        this.requests = value
    }

    /**
     * @param value Gets or sets the web server id.
     */
    @JvmName("btdulyxjtjsuayfq")
    public suspend fun webServerId(`value`: Output) {
        this.webServerId = value
    }

    /**
     * @param value Gets or sets the web server name.
     */
    @JvmName("jjjkplkpaioyeflm")
    public suspend fun webServerName(`value`: Output) {
        this.webServerName = value
    }

    /**
     * @param value Gets or sets the web application id.
     */
    @JvmName("cyopydpupdbsavky")
    public suspend fun applicationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applicationId = mapped
    }

    /**
     * @param value Gets or sets the web application name.
     */
    @JvmName("rqlmvirjvisbhoii")
    public suspend fun applicationName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applicationName = mapped
    }

    /**
     * @param value Gets or sets application scratch path.
     */
    @JvmName("vpakwkfvqhotsoaw")
    public suspend fun applicationScratchPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.applicationScratchPath = mapped
    }

    /**
     * @param value Gets or sets the bindings for the application.
     */
    @JvmName("mwseoeiwptuemweg")
    public suspend fun bindings(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bindings = mapped
    }

    /**
     * @param argument Gets or sets the bindings for the application.
     */
    @JvmName("wkxxlixglyukgfiu")
    public suspend fun bindings(argument: List Unit>) {
        val toBeMapped = argument.toList().map { BindingArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.bindings = mapped
    }

    /**
     * @param argument Gets or sets the bindings for the application.
     */
    @JvmName("fjktupdmjecjilfr")
    public suspend fun bindings(vararg argument: suspend BindingArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { BindingArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.bindings = mapped
    }

    /**
     * @param argument Gets or sets the bindings for the application.
     */
    @JvmName("dctebjhbpdgstryl")
    public suspend fun bindings(argument: suspend BindingArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(BindingArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.bindings = mapped
    }

    /**
     * @param values Gets or sets the bindings for the application.
     */
    @JvmName("ksvekfvgffxfhsao")
    public suspend fun bindings(vararg values: BindingArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bindings = mapped
    }

    /**
     * @param value Gets or sets application configuration.
     */
    @JvmName("wgmwjfavovykaklf")
    public suspend fun configurations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.configurations = mapped
    }

    /**
     * @param argument Gets or sets application configuration.
     */
    @JvmName("peobrjutiqqydkaf")
    public suspend fun configurations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            WebApplicationConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.configurations = mapped
    }

    /**
     * @param argument Gets or sets application configuration.
     */
    @JvmName("iaxoajigfhppwxux")
    public suspend fun configurations(vararg argument: suspend WebApplicationConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            WebApplicationConfigurationArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.configurations = mapped
    }

    /**
     * @param argument Gets or sets application configuration.
     */
    @JvmName("iduxyekokiohvxsu")
    public suspend fun configurations(argument: suspend WebApplicationConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            WebApplicationConfigurationArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.configurations = mapped
    }

    /**
     * @param values Gets or sets application configuration.
     */
    @JvmName("lmdmfbpqpkvfcgkj")
    public suspend fun configurations(vararg values: WebApplicationConfigurationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.configurations = mapped
    }

    /**
     * @param value Gets or sets application directories.
     */
    @JvmName("ghdltbkrnptgkerg")
    public suspend fun directories(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.directories = mapped
    }

    /**
     * @param argument Gets or sets application directories.
     */
    @JvmName("dedcoiefkbaehmmb")
    public suspend fun directories(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            WebApplicationDirectoryArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.directories = mapped
    }

    /**
     * @param argument Gets or sets application directories.
     */
    @JvmName("ttmrpqjyiwjkikdm")
    public suspend fun directories(vararg argument: suspend WebApplicationDirectoryArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            WebApplicationDirectoryArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.directories = mapped
    }

    /**
     * @param argument Gets or sets application directories.
     */
    @JvmName("mvouybafymkfussm")
    public suspend fun directories(argument: suspend WebApplicationDirectoryArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            WebApplicationDirectoryArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.directories = mapped
    }

    /**
     * @param values Gets or sets application directories.
     */
    @JvmName("fpaopbnbrutgcaqv")
    public suspend fun directories(vararg values: WebApplicationDirectoryArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.directories = mapped
    }

    /**
     * @param value Gets or sets the discovered frameworks of application.
     */
    @JvmName("tjfsxdjcoffookgs")
    public suspend fun discoveredFrameworks(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.discoveredFrameworks = mapped
    }

    /**
     * @param argument Gets or sets the discovered frameworks of application.
     */
    @JvmName("mprbksbtpjwactpf")
    public suspend fun discoveredFrameworks(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            WebApplicationFrameworkArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.discoveredFrameworks = mapped
    }

    /**
     * @param argument Gets or sets the discovered frameworks of application.
     */
    @JvmName("rudusbexobpvfnqg")
    public suspend fun discoveredFrameworks(vararg argument: suspend WebApplicationFrameworkArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            WebApplicationFrameworkArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.discoveredFrameworks = mapped
    }

    /**
     * @param argument Gets or sets the discovered frameworks of application.
     */
    @JvmName("rcbthjsrhaiopmjl")
    public suspend fun discoveredFrameworks(argument: suspend WebApplicationFrameworkArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            WebApplicationFrameworkArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.discoveredFrameworks = mapped
    }

    /**
     * @param values Gets or sets the discovered frameworks of application.
     */
    @JvmName("hngwwvvfgnjpgefp")
    public suspend fun discoveredFrameworks(vararg values: WebApplicationFrameworkArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.discoveredFrameworks = mapped
    }

    /**
     * @param value Gets or sets the display name.
     */
    @JvmName("xwbwlydehmwtrakl")
    public suspend fun displayName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param value Resource Requirements.
     */
    @JvmName("tpgisnrfjtcwcfxh")
    public suspend fun limits(`value`: ResourceRequirementsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.limits = mapped
    }

    /**
     * @param argument Resource Requirements.
     */
    @JvmName("nmuemyafyuoaqvep")
    public suspend fun limits(argument: suspend ResourceRequirementsArgsBuilder.() -> Unit) {
        val toBeMapped = ResourceRequirementsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.limits = mapped
    }

    /**
     * @param value Second level entity for virtual directories.
     */
    @JvmName("earbpkxymcnsfdey")
    public suspend fun path(`value`: DirectoryPathArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.path = mapped
    }

    /**
     * @param argument Second level entity for virtual directories.
     */
    @JvmName("lwkmalmhgvxdbwth")
    public suspend fun path(argument: suspend DirectoryPathArgsBuilder.() -> Unit) {
        val toBeMapped = DirectoryPathArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.path = mapped
    }

    /**
     * @param value Framework specific data for a web application.
     */
    @JvmName("mjxgumcbdijudaqd")
    public suspend fun primaryFramework(`value`: WebApplicationFrameworkArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryFramework = mapped
    }

    /**
     * @param argument Framework specific data for a web application.
     */
    @JvmName("abmsjtthmfpdbdyy")
    public suspend fun primaryFramework(argument: suspend WebApplicationFrameworkArgsBuilder.() -> Unit) {
        val toBeMapped = WebApplicationFrameworkArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryFramework = mapped
    }

    /**
     * @param value Resource Requirements.
     */
    @JvmName("bistvuxtjdndyhmm")
    public suspend fun requests(`value`: ResourceRequirementsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.requests = mapped
    }

    /**
     * @param argument Resource Requirements.
     */
    @JvmName("uhcsltfsyufmlsie")
    public suspend fun requests(argument: suspend ResourceRequirementsArgsBuilder.() -> Unit) {
        val toBeMapped = ResourceRequirementsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.requests = mapped
    }

    /**
     * @param value Gets or sets the web server id.
     */
    @JvmName("rlqwgjkbnmpkoklw")
    public suspend fun webServerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.webServerId = mapped
    }

    /**
     * @param value Gets or sets the web server name.
     */
    @JvmName("bihbacdetvemiwae")
    public suspend fun webServerName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.webServerName = mapped
    }

    internal fun build(): ApacheTomcatWebApplicationArgs = ApacheTomcatWebApplicationArgs(
        applicationId = applicationId,
        applicationName = applicationName,
        applicationScratchPath = applicationScratchPath,
        bindings = bindings,
        configurations = configurations,
        directories = directories,
        discoveredFrameworks = discoveredFrameworks,
        displayName = displayName,
        limits = limits,
        path = path,
        primaryFramework = primaryFramework,
        requests = requests,
        webServerId = webServerId,
        webServerName = webServerName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy