com.pulumi.azurenative.elastic.kotlin.inputs.GetMonitorPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.elastic.kotlin.inputs
import com.pulumi.azurenative.elastic.inputs.GetMonitorPlainArgs.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 monitorName Monitor resource name
* @property resourceGroupName The name of the resource group to which the Elastic resource belongs.
*/
public data class GetMonitorPlainArgs(
public val monitorName: String,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.elastic.inputs.GetMonitorPlainArgs =
com.pulumi.azurenative.elastic.inputs.GetMonitorPlainArgs.builder()
.monitorName(monitorName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetMonitorPlainArgs].
*/
@PulumiTagMarker
public class GetMonitorPlainArgsBuilder internal constructor() {
private var monitorName: String? = null
private var resourceGroupName: String? = null
/**
* @param value Monitor resource name
*/
@JvmName("yhlqtdrnehokprfs")
public suspend fun monitorName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.monitorName = mapped
}
/**
* @param value The name of the resource group to which the Elastic resource belongs.
*/
@JvmName("ksbmafmrgdgubytw")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetMonitorPlainArgs = GetMonitorPlainArgs(
monitorName = monitorName ?: throw PulumiNullFieldException("monitorName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}