com.pulumi.googlenative.appengine.v1beta.kotlin.inputs.ApiEndpointHandlerArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.appengine.v1beta.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.appengine.v1beta.inputs.ApiEndpointHandlerArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Uses Google Cloud Endpoints to handle requests.
* @property scriptPath Path to the script from the application root directory.
*/
public data class ApiEndpointHandlerArgs(
public val scriptPath: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.appengine.v1beta.inputs.ApiEndpointHandlerArgs =
com.pulumi.googlenative.appengine.v1beta.inputs.ApiEndpointHandlerArgs.builder()
.scriptPath(scriptPath?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApiEndpointHandlerArgs].
*/
@PulumiTagMarker
public class ApiEndpointHandlerArgsBuilder internal constructor() {
private var scriptPath: Output? = null
/**
* @param value Path to the script from the application root directory.
*/
@JvmName("itljumjxredswsif")
public suspend fun scriptPath(`value`: Output) {
this.scriptPath = value
}
/**
* @param value Path to the script from the application root directory.
*/
@JvmName("iflrbruwmcdvwaho")
public suspend fun scriptPath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scriptPath = mapped
}
internal fun build(): ApiEndpointHandlerArgs = ApiEndpointHandlerArgs(
scriptPath = scriptPath,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy