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

com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotSiteConfigHandlerMappingArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigHandlerMappingArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property arguments Specify the command-line arguments to be passed to the script processor.
 * @property extension Specify which extension to be handled by the specified FastCGI application.
 * @property scriptProcessorPath Specify the absolute path to the FastCGI application.
 */
public data class WindowsWebAppSlotSiteConfigHandlerMappingArgs(
    public val arguments: Output? = null,
    public val extension: Output,
    public val scriptProcessorPath: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigHandlerMappingArgs =
        com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigHandlerMappingArgs.builder()
            .arguments(arguments?.applyValue({ args0 -> args0 }))
            .extension(extension.applyValue({ args0 -> args0 }))
            .scriptProcessorPath(scriptProcessorPath.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsWebAppSlotSiteConfigHandlerMappingArgs].
 */
@PulumiTagMarker
public class WindowsWebAppSlotSiteConfigHandlerMappingArgsBuilder internal constructor() {
    private var arguments: Output? = null

    private var extension: Output? = null

    private var scriptProcessorPath: Output? = null

    /**
     * @param value Specify the command-line arguments to be passed to the script processor.
     */
    @JvmName("dxirminfkfsceduc")
    public suspend fun arguments(`value`: Output) {
        this.arguments = value
    }

    /**
     * @param value Specify which extension to be handled by the specified FastCGI application.
     */
    @JvmName("kslepavkoagsudjc")
    public suspend fun extension(`value`: Output) {
        this.extension = value
    }

    /**
     * @param value Specify the absolute path to the FastCGI application.
     */
    @JvmName("gafigqpveevwyual")
    public suspend fun scriptProcessorPath(`value`: Output) {
        this.scriptProcessorPath = value
    }

    /**
     * @param value Specify the command-line arguments to be passed to the script processor.
     */
    @JvmName("palksdktibspwvmh")
    public suspend fun arguments(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.arguments = mapped
    }

    /**
     * @param value Specify which extension to be handled by the specified FastCGI application.
     */
    @JvmName("gdhwtsoxwryauihf")
    public suspend fun extension(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.extension = mapped
    }

    /**
     * @param value Specify the absolute path to the FastCGI application.
     */
    @JvmName("rmjpbveugqerphtk")
    public suspend fun scriptProcessorPath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.scriptProcessorPath = mapped
    }

    internal fun build(): WindowsWebAppSlotSiteConfigHandlerMappingArgs =
        WindowsWebAppSlotSiteConfigHandlerMappingArgs(
            arguments = arguments,
            extension = extension ?: throw PulumiNullFieldException("extension"),
            scriptProcessorPath = scriptProcessorPath ?: throw PulumiNullFieldException("scriptProcessorPath"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy