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

com.pulumi.gitlab.kotlin.inputs.GetReleaseAssetsSource.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.4.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gitlab.kotlin.inputs

import com.pulumi.gitlab.inputs.GetReleaseAssetsSource.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 format The format of the source
 * @property url The URL of the source
 */
public data class GetReleaseAssetsSource(
    public val format: String,
    public val url: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gitlab.inputs.GetReleaseAssetsSource =
        com.pulumi.gitlab.inputs.GetReleaseAssetsSource.builder()
            .format(format.let({ args0 -> args0 }))
            .url(url.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetReleaseAssetsSource].
 */
@PulumiTagMarker
public class GetReleaseAssetsSourceBuilder internal constructor() {
    private var format: String? = null

    private var url: String? = null

    /**
     * @param value The format of the source
     */
    @JvmName("okfpdkylrhtawwjr")
    public suspend fun format(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.format = mapped
    }

    /**
     * @param value The URL of the source
     */
    @JvmName("wiydfteqawrxdbqb")
    public suspend fun url(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.url = mapped
    }

    internal fun build(): GetReleaseAssetsSource = GetReleaseAssetsSource(
        format = format ?: throw PulumiNullFieldException("format"),
        url = url ?: throw PulumiNullFieldException("url"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy