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

com.pulumi.googlenative.containeranalysis.v1alpha1.kotlin.inputs.RelatedUrlArgs.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.googlenative.containeranalysis.v1alpha1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.containeranalysis.v1alpha1.inputs.RelatedUrlArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Metadata for any related URL information
 * @property label Label to describe usage of the URL
 * @property url Specific URL to associate with the note
 */
public data class RelatedUrlArgs(
    public val label: Output? = null,
    public val url: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.containeranalysis.v1alpha1.inputs.RelatedUrlArgs =
        com.pulumi.googlenative.containeranalysis.v1alpha1.inputs.RelatedUrlArgs.builder()
            .label(label?.applyValue({ args0 -> args0 }))
            .url(url?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RelatedUrlArgs].
 */
@PulumiTagMarker
public class RelatedUrlArgsBuilder internal constructor() {
    private var label: Output? = null

    private var url: Output? = null

    /**
     * @param value Label to describe usage of the URL
     */
    @JvmName("lhgknbuaxuhedbxa")
    public suspend fun label(`value`: Output) {
        this.label = value
    }

    /**
     * @param value Specific URL to associate with the note
     */
    @JvmName("ktvnygqdhwhqaior")
    public suspend fun url(`value`: Output) {
        this.url = value
    }

    /**
     * @param value Label to describe usage of the URL
     */
    @JvmName("llxknjlnmjswirqt")
    public suspend fun label(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.label = mapped
    }

    /**
     * @param value Specific URL to associate with the note
     */
    @JvmName("tgpbornalasvdxyk")
    public suspend fun url(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.url = mapped
    }

    internal fun build(): RelatedUrlArgs = RelatedUrlArgs(
        label = label,
        url = url,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy