com.pulumi.gcp.monitoring.kotlin.inputs.AlertPolicyDocumentationArgs.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.monitoring.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.monitoring.inputs.AlertPolicyDocumentationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property content The text of the documentation, interpreted according to mimeType.
* The content may not exceed 8,192 Unicode characters and may not
* exceed more than 10,240 bytes when encoded in UTF-8 format,
* whichever is smaller.
* @property links Links to content such as playbooks, repositories, and other resources. This field can contain up to 3 entries.
* Structure is documented below.
* @property mimeType The format of the content field. Presently, only the value
* "text/markdown" is supported.
* @property subject The subject line of the notification. The subject line may not
* exceed 10,240 bytes. In notifications generated by this policy the contents
* of the subject line after variable expansion will be truncated to 255 bytes
* or shorter at the latest UTF-8 character boundary.
*/
public data class AlertPolicyDocumentationArgs(
public val content: Output? = null,
public val links: Output>? = null,
public val mimeType: Output? = null,
public val subject: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.monitoring.inputs.AlertPolicyDocumentationArgs =
com.pulumi.gcp.monitoring.inputs.AlertPolicyDocumentationArgs.builder()
.content(content?.applyValue({ args0 -> args0 }))
.links(links?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.mimeType(mimeType?.applyValue({ args0 -> args0 }))
.subject(subject?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AlertPolicyDocumentationArgs].
*/
@PulumiTagMarker
public class AlertPolicyDocumentationArgsBuilder internal constructor() {
private var content: Output? = null
private var links: Output>? = null
private var mimeType: Output? = null
private var subject: Output? = null
/**
* @param value The text of the documentation, interpreted according to mimeType.
* The content may not exceed 8,192 Unicode characters and may not
* exceed more than 10,240 bytes when encoded in UTF-8 format,
* whichever is smaller.
*/
@JvmName("ktpjtpjifgfhalje")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value Links to content such as playbooks, repositories, and other resources. This field can contain up to 3 entries.
* Structure is documented below.
*/
@JvmName("bejbtibclbeehpeo")
public suspend fun links(`value`: Output>) {
this.links = value
}
@JvmName("jubfilqnipukccuh")
public suspend fun links(vararg values: Output) {
this.links = Output.all(values.asList())
}
/**
* @param values Links to content such as playbooks, repositories, and other resources. This field can contain up to 3 entries.
* Structure is documented below.
*/
@JvmName("dlcwdgfhpvlnltyf")
public suspend fun links(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy