com.pulumi.kubernetes.apiextensions.v1.kotlin.inputs.ExternalDocumentationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.kubernetes.apiextensions.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kubernetes.apiextensions.v1.inputs.ExternalDocumentationArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* ExternalDocumentation allows referencing an external resource for extended documentation.
* @property description
* @property url
*/
public data class ExternalDocumentationArgs(
public val description: Output? = null,
public val url: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.apiextensions.v1.inputs.ExternalDocumentationArgs =
com.pulumi.kubernetes.apiextensions.v1.inputs.ExternalDocumentationArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.url(url?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExternalDocumentationArgs].
*/
@PulumiTagMarker
public class ExternalDocumentationArgsBuilder internal constructor() {
private var description: Output? = null
private var url: Output? = null
/**
* @param value
*/
@JvmName("pbkkcavdiqavselh")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value
*/
@JvmName("gpaliwkqladjwrkg")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value
*/
@JvmName("swsgerxnmqjenklj")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value
*/
@JvmName("oukygmwkkjpwmstt")
public suspend fun url(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): ExternalDocumentationArgs = ExternalDocumentationArgs(
description = description,
url = url,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy