com.pulumi.gcp.cloudscheduler.kotlin.inputs.JobAppEngineHttpTargetAppEngineRoutingArgs.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.cloudscheduler.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudscheduler.inputs.JobAppEngineHttpTargetAppEngineRoutingArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property instance App instance.
* By default, the job is sent to an instance which is available when the job is attempted.
* @property service App service.
* By default, the job is sent to the service which is the default service when the job is attempted.
* @property version App version.
* By default, the job is sent to the version which is the default version when the job is attempted.
*/
public data class JobAppEngineHttpTargetAppEngineRoutingArgs(
public val instance: Output? = null,
public val service: Output? = null,
public val version: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudscheduler.inputs.JobAppEngineHttpTargetAppEngineRoutingArgs =
com.pulumi.gcp.cloudscheduler.inputs.JobAppEngineHttpTargetAppEngineRoutingArgs.builder()
.instance(instance?.applyValue({ args0 -> args0 }))
.service(service?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobAppEngineHttpTargetAppEngineRoutingArgs].
*/
@PulumiTagMarker
public class JobAppEngineHttpTargetAppEngineRoutingArgsBuilder internal constructor() {
private var instance: Output? = null
private var service: Output? = null
private var version: Output? = null
/**
* @param value App instance.
* By default, the job is sent to an instance which is available when the job is attempted.
*/
@JvmName("dbgbcpashfajblks")
public suspend fun instance(`value`: Output) {
this.instance = value
}
/**
* @param value App service.
* By default, the job is sent to the service which is the default service when the job is attempted.
*/
@JvmName("pabpceypvonrgjqw")
public suspend fun service(`value`: Output) {
this.service = value
}
/**
* @param value App version.
* By default, the job is sent to the version which is the default version when the job is attempted.
*/
@JvmName("bpuplilmwinsdqwk")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value App instance.
* By default, the job is sent to an instance which is available when the job is attempted.
*/
@JvmName("tyqvnwumiicgxuww")
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 job is sent to the service which is the default service when the job is attempted.
*/
@JvmName("blmhivndkjbgovas")
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 job is sent to the version which is the default version when the job is attempted.
*/
@JvmName("qxpyqpbdixqbbgfs")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): JobAppEngineHttpTargetAppEngineRoutingArgs =
JobAppEngineHttpTargetAppEngineRoutingArgs(
instance = instance,
service = service,
version = version,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy