![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.dbforpostgresql.kotlin.inputs.GetClusterPlainArgs.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.dbforpostgresql.kotlin.inputs
import com.pulumi.azurenative.dbforpostgresql.inputs.GetClusterPlainArgs.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 clusterName The name of the cluster.
* @property resourceGroupName The name of the resource group. The name is case insensitive.
*/
public data class GetClusterPlainArgs(
public val clusterName: String,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dbforpostgresql.inputs.GetClusterPlainArgs =
com.pulumi.azurenative.dbforpostgresql.inputs.GetClusterPlainArgs.builder()
.clusterName(clusterName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetClusterPlainArgs].
*/
@PulumiTagMarker
public class GetClusterPlainArgsBuilder internal constructor() {
private var clusterName: String? = null
private var resourceGroupName: String? = null
/**
* @param value The name of the cluster.
*/
@JvmName("xapjrcdyfbnqectk")
public suspend fun clusterName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.clusterName = mapped
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("cplxrxobdjoccshl")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetClusterPlainArgs = GetClusterPlainArgs(
clusterName = clusterName ?: throw PulumiNullFieldException("clusterName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy