com.pulumi.azure.nginx.kotlin.inputs.GetCertificatePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.nginx.kotlin.inputs
import com.pulumi.azure.nginx.inputs.GetCertificatePlainArgs.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 getCertificate.
* @property name The name of the NGINX Certificate.
* @property nginxDeploymentId The ID of the NGINX Deployment that the certificate is associated with.
*/
public data class GetCertificatePlainArgs(
public val name: String,
public val nginxDeploymentId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.nginx.inputs.GetCertificatePlainArgs =
com.pulumi.azure.nginx.inputs.GetCertificatePlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.nginxDeploymentId(nginxDeploymentId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetCertificatePlainArgs].
*/
@PulumiTagMarker
public class GetCertificatePlainArgsBuilder internal constructor() {
private var name: String? = null
private var nginxDeploymentId: String? = null
/**
* @param value The name of the NGINX Certificate.
*/
@JvmName("ilhiwdunwqtinwpa")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The ID of the NGINX Deployment that the certificate is associated with.
*/
@JvmName("jxcjmihoayohexet")
public suspend fun nginxDeploymentId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.nginxDeploymentId = mapped
}
internal fun build(): GetCertificatePlainArgs = GetCertificatePlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
nginxDeploymentId = nginxDeploymentId ?: throw PulumiNullFieldException("nginxDeploymentId"),
)
}