All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.apiextensions.v1.kotlin.inputs.ExternalDocumentationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@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("nrsqcytpiylombis")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value
     */
    @JvmName("qyycdajqchldrqcs")
    public suspend fun url(`value`: Output) {
        this.url = value
    }

    /**
     * @param value
     */
    @JvmName("rwpvkawdqixmruhy")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value
     */
    @JvmName("cwglhotynrthacca")
    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