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

com.pulumi.gcp.appengine.kotlin.inputs.ApplicationUrlDispatchRulesDispatchRuleArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.appengine.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.appengine.inputs.ApplicationUrlDispatchRulesDispatchRuleArgs.builder
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 domain Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".
 * Defaults to matching all domains: "*".
 * @property path Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.
 * The sum of the lengths of the domain and path may not exceed 100 characters.
 * @property service Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.
 * The sum of the lengths of the domain and path may not exceed 100 characters.
 * - - -
 */
public data class ApplicationUrlDispatchRulesDispatchRuleArgs(
    public val domain: Output? = null,
    public val path: Output,
    public val service: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.appengine.inputs.ApplicationUrlDispatchRulesDispatchRuleArgs = com.pulumi.gcp.appengine.inputs.ApplicationUrlDispatchRulesDispatchRuleArgs.builder()
        .domain(domain?.applyValue({ args0 -> args0 }))
        .path(path.applyValue({ args0 -> args0 }))
        .service(service.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationUrlDispatchRulesDispatchRuleArgs].
 */
@PulumiTagMarker
public class ApplicationUrlDispatchRulesDispatchRuleArgsBuilder internal constructor() {
    private var domain: Output? = null

    private var path: Output? = null

    private var service: Output? = null

    /**
     * @param value Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".
     * Defaults to matching all domains: "*".
     */
    @JvmName("hcwehxfmqylgawnn")
    public suspend fun domain(`value`: Output) {
        this.domain = value
    }

    /**
     * @param value Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.
     * The sum of the lengths of the domain and path may not exceed 100 characters.
     */
    @JvmName("vcfotudmmhmojjqy")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.
     * The sum of the lengths of the domain and path may not exceed 100 characters.
     * - - -
     */
    @JvmName("ojpyldavqmjggsgq")
    public suspend fun service(`value`: Output) {
        this.service = value
    }

    /**
     * @param value Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".
     * Defaults to matching all domains: "*".
     */
    @JvmName("xkdxjvavombhmeuh")
    public suspend fun domain(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domain = mapped
    }

    /**
     * @param value Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.
     * The sum of the lengths of the domain and path may not exceed 100 characters.
     */
    @JvmName("nbxydytmvrlreqtv")
    public suspend fun path(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.path = mapped
    }

    /**
     * @param value Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.
     * The sum of the lengths of the domain and path may not exceed 100 characters.
     * - - -
     */
    @JvmName("qmgnfhtofgnrifrg")
    public suspend fun service(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.service = mapped
    }

    internal fun build(): ApplicationUrlDispatchRulesDispatchRuleArgs =
        ApplicationUrlDispatchRulesDispatchRuleArgs(
            domain = domain,
            path = path ?: throw PulumiNullFieldException("path"),
            service = service ?: throw PulumiNullFieldException("service"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy