com.pulumi.azure.apimanagement.kotlin.inputs.GetApiVersionSetPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.GetApiVersionSetPlainArgs.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
/**
* A collection of arguments for invoking getApiVersionSet.
* @property apiManagementName The name of the API Management Service where the API Version Set exists.
* @property name The name of the API Version Set.
* @property resourceGroupName The name of the Resource Group in which the parent API Management Service exists.
*/
public data class GetApiVersionSetPlainArgs(
public val apiManagementName: String,
public val name: String,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.GetApiVersionSetPlainArgs =
com.pulumi.azure.apimanagement.inputs.GetApiVersionSetPlainArgs.builder()
.apiManagementName(apiManagementName.let({ args0 -> args0 }))
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetApiVersionSetPlainArgs].
*/
@PulumiTagMarker
public class GetApiVersionSetPlainArgsBuilder internal constructor() {
private var apiManagementName: String? = null
private var name: String? = null
private var resourceGroupName: String? = null
/**
* @param value The name of the API Management Service where the API Version Set exists.
*/
@JvmName("xxmymgbhoigyvoiv")
public suspend fun apiManagementName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.apiManagementName = mapped
}
/**
* @param value The name of the API Version Set.
*/
@JvmName("qahvokslestuhbia")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The name of the Resource Group in which the parent API Management Service exists.
*/
@JvmName("mjqlubmuvbhphdje")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetApiVersionSetPlainArgs = GetApiVersionSetPlainArgs(
apiManagementName = apiManagementName ?: throw PulumiNullFieldException("apiManagementName"),
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}