
com.pulumi.gcp.monitoring.kotlin.inputs.AlertPolicyDocumentationLinkArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.monitoring.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.monitoring.inputs.AlertPolicyDocumentationLinkArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property displayName A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
* @property url The url of a webpage. A url can be templatized by using variables in the path or the query parameters. The total length of a URL should not exceed 2083 characters before and after variable expansion. Example: "https://my_domain.com/playbook?name=${resource.name}".
*/
public data class AlertPolicyDocumentationLinkArgs(
public val displayName: Output? = null,
public val url: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.monitoring.inputs.AlertPolicyDocumentationLinkArgs =
com.pulumi.gcp.monitoring.inputs.AlertPolicyDocumentationLinkArgs.builder()
.displayName(displayName?.applyValue({ args0 -> args0 }))
.url(url?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AlertPolicyDocumentationLinkArgs].
*/
@PulumiTagMarker
public class AlertPolicyDocumentationLinkArgsBuilder internal constructor() {
private var displayName: Output? = null
private var url: Output? = null
/**
* @param value A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
*/
@JvmName("bootlbqkbmietmnd")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value The url of a webpage. A url can be templatized by using variables in the path or the query parameters. The total length of a URL should not exceed 2083 characters before and after variable expansion. Example: "https://my_domain.com/playbook?name=${resource.name}".
*/
@JvmName("jtqmtkusmiwlklsn")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
*/
@JvmName("qopwaoxltbsvisqt")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayName = mapped
}
/**
* @param value The url of a webpage. A url can be templatized by using variables in the path or the query parameters. The total length of a URL should not exceed 2083 characters before and after variable expansion. Example: "https://my_domain.com/playbook?name=${resource.name}".
*/
@JvmName("aynhfeueniiujarg")
public suspend fun url(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): AlertPolicyDocumentationLinkArgs = AlertPolicyDocumentationLinkArgs(
displayName = displayName,
url = url,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy