
com.pulumi.azurenative.notificationhubs.kotlin.inputs.ApnsCredentialPropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.notificationhubs.kotlin.inputs
import com.pulumi.azurenative.notificationhubs.inputs.ApnsCredentialPropertiesArgs.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 ApnsCredential.
* @property apnsCertificate Gets or sets the APNS certificate.
* @property appId Gets or sets the issuer (iss) registered claim key, whose value is
* your 10-character Team ID, obtained from your developer account
* @property appName Gets or sets the name of the application
* @property certificateKey Gets or sets the certificate key.
* @property endpoint Gets or sets the endpoint of this credential.
* @property keyId Gets or sets a 10-character key identifier (kid) key, obtained from
* your developer account
* @property thumbprint Gets or sets the APNS certificate Thumbprint
* @property token Gets or sets provider Authentication Token, obtained through your
* developer account
*/
public data class ApnsCredentialPropertiesArgs(
public val apnsCertificate: Output? = null,
public val appId: Output? = null,
public val appName: Output? = null,
public val certificateKey: Output? = null,
public val endpoint: Output,
public val keyId: Output? = null,
public val thumbprint: Output? = null,
public val token: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.notificationhubs.inputs.ApnsCredentialPropertiesArgs = com.pulumi.azurenative.notificationhubs.inputs.ApnsCredentialPropertiesArgs.builder()
.apnsCertificate(apnsCertificate?.applyValue({ args0 -> args0 }))
.appId(appId?.applyValue({ args0 -> args0 }))
.appName(appName?.applyValue({ args0 -> args0 }))
.certificateKey(certificateKey?.applyValue({ args0 -> args0 }))
.endpoint(endpoint.applyValue({ args0 -> args0 }))
.keyId(keyId?.applyValue({ args0 -> args0 }))
.thumbprint(thumbprint?.applyValue({ args0 -> args0 }))
.token(token?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApnsCredentialPropertiesArgs].
*/
@PulumiTagMarker
public class ApnsCredentialPropertiesArgsBuilder internal constructor() {
private var apnsCertificate: Output? = null
private var appId: Output? = null
private var appName: Output? = null
private var certificateKey: Output? = null
private var endpoint: Output? = null
private var keyId: Output? = null
private var thumbprint: Output? = null
private var token: Output? = null
/**
* @param value Gets or sets the APNS certificate.
*/
@JvmName("fgdrvqnjtscnxttu")
public suspend fun apnsCertificate(`value`: Output) {
this.apnsCertificate = value
}
/**
* @param value Gets or sets the issuer (iss) registered claim key, whose value is
* your 10-character Team ID, obtained from your developer account
*/
@JvmName("xyelpsplofexmedf")
public suspend fun appId(`value`: Output) {
this.appId = value
}
/**
* @param value Gets or sets the name of the application
*/
@JvmName("vqnkkxbubfydthfl")
public suspend fun appName(`value`: Output) {
this.appName = value
}
/**
* @param value Gets or sets the certificate key.
*/
@JvmName("blproeluawurpyuk")
public suspend fun certificateKey(`value`: Output) {
this.certificateKey = value
}
/**
* @param value Gets or sets the endpoint of this credential.
*/
@JvmName("fjvlmmracsvgrqsg")
public suspend fun endpoint(`value`: Output) {
this.endpoint = value
}
/**
* @param value Gets or sets a 10-character key identifier (kid) key, obtained from
* your developer account
*/
@JvmName("uwpipncswmrxbrlx")
public suspend fun keyId(`value`: Output) {
this.keyId = value
}
/**
* @param value Gets or sets the APNS certificate Thumbprint
*/
@JvmName("punpggprrseddihx")
public suspend fun thumbprint(`value`: Output) {
this.thumbprint = value
}
/**
* @param value Gets or sets provider Authentication Token, obtained through your
* developer account
*/
@JvmName("wqsbfukbkhnnyjac")
public suspend fun token(`value`: Output) {
this.token = value
}
/**
* @param value Gets or sets the APNS certificate.
*/
@JvmName("mmwmmmjyecjkandd")
public suspend fun apnsCertificate(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.apnsCertificate = mapped
}
/**
* @param value Gets or sets the issuer (iss) registered claim key, whose value is
* your 10-character Team ID, obtained from your developer account
*/
@JvmName("postejtgjaqrnumy")
public suspend fun appId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.appId = mapped
}
/**
* @param value Gets or sets the name of the application
*/
@JvmName("hsyjwyatkqhokjjd")
public suspend fun appName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.appName = mapped
}
/**
* @param value Gets or sets the certificate key.
*/
@JvmName("tiqqydtdvixsdpov")
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 endpoint of this credential.
*/
@JvmName("rjnvvnugxirklxkp")
public suspend fun endpoint(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.endpoint = mapped
}
/**
* @param value Gets or sets a 10-character key identifier (kid) key, obtained from
* your developer account
*/
@JvmName("yhgywbgkydxyapan")
public suspend fun keyId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyId = mapped
}
/**
* @param value Gets or sets the APNS certificate Thumbprint
*/
@JvmName("luxniqrkmvbhigtk")
public suspend fun thumbprint(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.thumbprint = mapped
}
/**
* @param value Gets or sets provider Authentication Token, obtained through your
* developer account
*/
@JvmName("xqqndcnwahvweqsd")
public suspend fun token(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.token = mapped
}
internal fun build(): ApnsCredentialPropertiesArgs = ApnsCredentialPropertiesArgs(
apnsCertificate = apnsCertificate,
appId = appId,
appName = appName,
certificateKey = certificateKey,
endpoint = endpoint ?: throw PulumiNullFieldException("endpoint"),
keyId = keyId,
thumbprint = thumbprint,
token = token,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy