com.pulumi.gcp.eventarc.kotlin.inputs.TriggerDestinationHttpEndpointArgs.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.eventarc.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.eventarc.inputs.TriggerDestinationHttpEndpointArgs.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 uri Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
*/
public data class TriggerDestinationHttpEndpointArgs(
public val uri: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.eventarc.inputs.TriggerDestinationHttpEndpointArgs =
com.pulumi.gcp.eventarc.inputs.TriggerDestinationHttpEndpointArgs.builder()
.uri(uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TriggerDestinationHttpEndpointArgs].
*/
@PulumiTagMarker
public class TriggerDestinationHttpEndpointArgsBuilder internal constructor() {
private var uri: Output? = null
/**
* @param value Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
*/
@JvmName("nndlwbxibhbpshct")
public suspend fun uri(`value`: Output) {
this.uri = value
}
/**
* @param value Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`. Only HTTP and HTTPS protocols are supported. The host can be either a static IP addressable from the VPC specified by the network config, or an internal DNS hostname of the service resolvable via Cloud DNS.
*/
@JvmName("herdvuuquradlbsk")
public suspend fun uri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.uri = mapped
}
internal fun build(): TriggerDestinationHttpEndpointArgs = TriggerDestinationHttpEndpointArgs(
uri = uri ?: throw PulumiNullFieldException("uri"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy