com.pulumi.azure.keyvault.kotlin.inputs.CertifiateCertificatePolicySecretPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.keyvault.kotlin.inputs
import com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicySecretPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 contentType The Content-Type of the Certificate, such as `application/x-pkcs12` for a PFX or `application/x-pem-file` for a PEM.
*/
public data class CertifiateCertificatePolicySecretPropertiesArgs(
public val contentType: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicySecretPropertiesArgs =
com.pulumi.azure.keyvault.inputs.CertifiateCertificatePolicySecretPropertiesArgs.builder()
.contentType(contentType.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertifiateCertificatePolicySecretPropertiesArgs].
*/
@PulumiTagMarker
public class CertifiateCertificatePolicySecretPropertiesArgsBuilder internal constructor() {
private var contentType: Output? = null
/**
* @param value The Content-Type of the Certificate, such as `application/x-pkcs12` for a PFX or `application/x-pem-file` for a PEM.
*/
@JvmName("qgnuehvqdbhllgjp")
public suspend fun contentType(`value`: Output) {
this.contentType = value
}
/**
* @param value The Content-Type of the Certificate, such as `application/x-pkcs12` for a PFX or `application/x-pem-file` for a PEM.
*/
@JvmName("sranwawxiqfjhfha")
public suspend fun contentType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.contentType = mapped
}
internal fun build(): CertifiateCertificatePolicySecretPropertiesArgs =
CertifiateCertificatePolicySecretPropertiesArgs(
contentType = contentType ?: throw PulumiNullFieldException("contentType"),
)
}