com.pulumi.gcp.cloudtasks.kotlin.inputs.QueueAppEngineRoutingOverrideArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudtasks.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudtasks.inputs.QueueAppEngineRoutingOverrideArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property host (Output)
* The host that the task is sent to.
* @property instance App instance.
* By default, the task is sent to an instance which is available when the task is attempted.
* @property service App service.
* By default, the task is sent to the service which is the default service when the task is attempted.
* @property version App version.
* By default, the task is sent to the version which is the default version when the task is attempted.
*/
public data class QueueAppEngineRoutingOverrideArgs(
public val host: Output? = null,
public val instance: Output? = null,
public val service: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudtasks.inputs.QueueAppEngineRoutingOverrideArgs =
com.pulumi.gcp.cloudtasks.inputs.QueueAppEngineRoutingOverrideArgs.builder()
.host(host?.applyValue({ args0 -> args0 }))
.instance(instance?.applyValue({ args0 -> args0 }))
.service(service?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [QueueAppEngineRoutingOverrideArgs].
*/
@PulumiTagMarker
public class QueueAppEngineRoutingOverrideArgsBuilder internal constructor() {
private var host: Output? = null
private var instance: Output? = null
private var service: Output? = null
private var version: Output? = null
/**
* @param value (Output)
* The host that the task is sent to.
*/
@JvmName("mkdtmdydardsojed")
public suspend fun host(`value`: Output) {
this.host = value
}
/**
* @param value App instance.
* By default, the task is sent to an instance which is available when the task is attempted.
*/
@JvmName("oiqtwrathfecmcmr")
public suspend fun instance(`value`: Output) {
this.instance = value
}
/**
* @param value App service.
* By default, the task is sent to the service which is the default service when the task is attempted.
*/
@JvmName("oeptjrjlcrykwnrn")
public suspend fun service(`value`: Output) {
this.service = value
}
/**
* @param value App version.
* By default, the task is sent to the version which is the default version when the task is attempted.
*/
@JvmName("alqnuxfmytubxpvm")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value (Output)
* The host that the task is sent to.
*/
@JvmName("imgmspkytncpjvty")
public suspend fun host(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.host = mapped
}
/**
* @param value App instance.
* By default, the task is sent to an instance which is available when the task is attempted.
*/
@JvmName("stspcwcyeoaofirb")
public suspend fun instance(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instance = mapped
}
/**
* @param value App service.
* By default, the task is sent to the service which is the default service when the task is attempted.
*/
@JvmName("hfsmykaxydfsmwiq")
public suspend fun service(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.service = mapped
}
/**
* @param value App version.
* By default, the task is sent to the version which is the default version when the task is attempted.
*/
@JvmName("lcreisatyefgdvyr")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): QueueAppEngineRoutingOverrideArgs = QueueAppEngineRoutingOverrideArgs(
host = host,
instance = instance,
service = service,
version = version,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy