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

com.pulumi.gcp.containeranalysis.kotlin.inputs.NoteRelatedUrlArgs.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.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.containeranalysis.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.containeranalysis.inputs.NoteRelatedUrlArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property label Label to describe usage of the URL
 * @property url Specific URL associated with the resource.
 */
public data class NoteRelatedUrlArgs(
    public val label: Output? = null,
    public val url: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.containeranalysis.inputs.NoteRelatedUrlArgs =
        com.pulumi.gcp.containeranalysis.inputs.NoteRelatedUrlArgs.builder()
            .label(label?.applyValue({ args0 -> args0 }))
            .url(url.applyValue({ args0 -> args0 })).build()
}

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

    private var url: Output? = null

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

    /**
     * @param value Specific URL associated with the resource.
     */
    @JvmName("yikaeokkkkbyxxie")
    public suspend fun url(`value`: Output) {
        this.url = value
    }

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

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

    internal fun build(): NoteRelatedUrlArgs = NoteRelatedUrlArgs(
        label = label,
        url = url ?: throw PulumiNullFieldException("url"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy