com.pulumi.googlenative.compute.v1.kotlin.inputs.GetTargetHttpProxyPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.v1.kotlin.inputs
import com.pulumi.googlenative.compute.v1.inputs.GetTargetHttpProxyPlainArgs.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 project
* @property targetHttpProxy
*/
public data class GetTargetHttpProxyPlainArgs(
public val project: String? = null,
public val targetHttpProxy: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.compute.v1.inputs.GetTargetHttpProxyPlainArgs =
com.pulumi.googlenative.compute.v1.inputs.GetTargetHttpProxyPlainArgs.builder()
.project(project?.let({ args0 -> args0 }))
.targetHttpProxy(targetHttpProxy.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetTargetHttpProxyPlainArgs].
*/
@PulumiTagMarker
public class GetTargetHttpProxyPlainArgsBuilder internal constructor() {
private var project: String? = null
private var targetHttpProxy: String? = null
/**
* @param value
*/
@JvmName("ernnuplrlexaqjvf")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value
*/
@JvmName("ebdltiysmkafwkyj")
public suspend fun targetHttpProxy(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.targetHttpProxy = mapped
}
internal fun build(): GetTargetHttpProxyPlainArgs = GetTargetHttpProxyPlainArgs(
project = project,
targetHttpProxy = targetHttpProxy ?: throw PulumiNullFieldException("targetHttpProxy"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy