com.pulumi.azure.appplatform.kotlin.inputs.GetSpringCloudAppPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appplatform.kotlin.inputs
import com.pulumi.azure.appplatform.inputs.GetSpringCloudAppPlainArgs.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 getSpringCloudApp.
* @property name The name of the Spring Cloud Application.
* @property resourceGroupName The name of the Resource Group where the Spring Cloud Application exists.
* @property serviceName The name of the Spring Cloud Service.
*/
public data class GetSpringCloudAppPlainArgs(
public val name: String,
public val resourceGroupName: String,
public val serviceName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appplatform.inputs.GetSpringCloudAppPlainArgs =
com.pulumi.azure.appplatform.inputs.GetSpringCloudAppPlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.serviceName(serviceName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSpringCloudAppPlainArgs].
*/
@PulumiTagMarker
public class GetSpringCloudAppPlainArgsBuilder internal constructor() {
private var name: String? = null
private var resourceGroupName: String? = null
private var serviceName: String? = null
/**
* @param value The name of the Spring Cloud Application.
*/
@JvmName("kxopnadmdwbtniqd")
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 where the Spring Cloud Application exists.
*/
@JvmName("jtvpspcimrwafelk")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The name of the Spring Cloud Service.
*/
@JvmName("smivxyhxhuoayawm")
public suspend fun serviceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.serviceName = mapped
}
internal fun build(): GetSpringCloudAppPlainArgs = GetSpringCloudAppPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
serviceName = serviceName ?: throw PulumiNullFieldException("serviceName"),
)
}