
com.pulumi.azurenative.notificationhubs.kotlin.inputs.MpnsCredentialPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.notificationhubs.kotlin.inputs
import com.pulumi.azurenative.notificationhubs.inputs.MpnsCredentialPropertiesArgs.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
/**
* Description of a NotificationHub MpnsCredential.
* @property certificateKey Gets or sets the certificate key for this credential.
* @property mpnsCertificate Gets or sets the MPNS certificate.
* @property thumbprint Gets or sets the MPNS certificate Thumbprint
*/
public data class MpnsCredentialPropertiesArgs(
public val certificateKey: Output,
public val mpnsCertificate: Output,
public val thumbprint: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.notificationhubs.inputs.MpnsCredentialPropertiesArgs = com.pulumi.azurenative.notificationhubs.inputs.MpnsCredentialPropertiesArgs.builder()
.certificateKey(certificateKey.applyValue({ args0 -> args0 }))
.mpnsCertificate(mpnsCertificate.applyValue({ args0 -> args0 }))
.thumbprint(thumbprint.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MpnsCredentialPropertiesArgs].
*/
@PulumiTagMarker
public class MpnsCredentialPropertiesArgsBuilder internal constructor() {
private var certificateKey: Output? = null
private var mpnsCertificate: Output? = null
private var thumbprint: Output? = null
/**
* @param value Gets or sets the certificate key for this credential.
*/
@JvmName("lauahnsjxigwojjt")
public suspend fun certificateKey(`value`: Output) {
this.certificateKey = value
}
/**
* @param value Gets or sets the MPNS certificate.
*/
@JvmName("sgghkhygjbbdbmsg")
public suspend fun mpnsCertificate(`value`: Output) {
this.mpnsCertificate = value
}
/**
* @param value Gets or sets the MPNS certificate Thumbprint
*/
@JvmName("clqdhrbhewqlbevn")
public suspend fun thumbprint(`value`: Output) {
this.thumbprint = value
}
/**
* @param value Gets or sets the certificate key for this credential.
*/
@JvmName("pusgpnldetxtlmnm")
public suspend fun certificateKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.certificateKey = mapped
}
/**
* @param value Gets or sets the MPNS certificate.
*/
@JvmName("pcpqbtyhbdwwdghg")
public suspend fun mpnsCertificate(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mpnsCertificate = mapped
}
/**
* @param value Gets or sets the MPNS certificate Thumbprint
*/
@JvmName("priqodekuuoijtww")
public suspend fun thumbprint(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.thumbprint = mapped
}
internal fun build(): MpnsCredentialPropertiesArgs = MpnsCredentialPropertiesArgs(
certificateKey = certificateKey ?: throw PulumiNullFieldException("certificateKey"),
mpnsCertificate = mpnsCertificate ?: throw PulumiNullFieldException("mpnsCertificate"),
thumbprint = thumbprint ?: throw PulumiNullFieldException("thumbprint"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy