com.pulumi.kubernetes.apiextensions.v1.kotlin.inputs.ExternalDocumentationPatchArgs.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.ExternalDocumentationPatchArgs.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 ExternalDocumentationPatchArgs(
public val description: Output? = null,
public val url: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.apiextensions.v1.inputs.ExternalDocumentationPatchArgs =
com.pulumi.kubernetes.apiextensions.v1.inputs.ExternalDocumentationPatchArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.url(url?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExternalDocumentationPatchArgs].
*/
@PulumiTagMarker
public class ExternalDocumentationPatchArgsBuilder internal constructor() {
private var description: Output? = null
private var url: Output? = null
/**
* @param value
*/
@JvmName("geaykbncxgevpreu")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value
*/
@JvmName("anbcqldymeaoxpra")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value
*/
@JvmName("gilqpktxtkjrwadt")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value
*/
@JvmName("ksgewgtwrcdsqrxp")
public suspend fun url(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): ExternalDocumentationPatchArgs = ExternalDocumentationPatchArgs(
description = description,
url = url,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy