![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.apimanagement.kotlin.inputs.ApiLicenseInformationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.apimanagement.kotlin.inputs
import com.pulumi.azurenative.apimanagement.inputs.ApiLicenseInformationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* API license information
* @property name The license name used for the API
* @property url A URL to the license used for the API. MUST be in the format of a URL
*/
public data class ApiLicenseInformationArgs(
public val name: Output? = null,
public val url: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.apimanagement.inputs.ApiLicenseInformationArgs =
com.pulumi.azurenative.apimanagement.inputs.ApiLicenseInformationArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.url(url?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApiLicenseInformationArgs].
*/
@PulumiTagMarker
public class ApiLicenseInformationArgsBuilder internal constructor() {
private var name: Output? = null
private var url: Output? = null
/**
* @param value The license name used for the API
*/
@JvmName("ggsqicaatndbyvxt")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A URL to the license used for the API. MUST be in the format of a URL
*/
@JvmName("cuptxgakgsjvjild")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value The license name used for the API
*/
@JvmName("phxaapaikxprmjpr")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value A URL to the license used for the API. MUST be in the format of a URL
*/
@JvmName("kruglkpvbqbyrkgs")
public suspend fun url(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): ApiLicenseInformationArgs = ApiLicenseInformationArgs(
name = name,
url = url,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy