All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.notificationhubs.kotlin.inputs.XiaomiCredentialPropertiesArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.notificationhubs.kotlin.inputs

import com.pulumi.azurenative.notificationhubs.inputs.XiaomiCredentialPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Description of a NotificationHub XiaomiCredentialProperties.
 * @property appSecret Gets or sets app secret.
 * @property endpoint Gets or sets xiaomi service endpoint.
 */
public data class XiaomiCredentialPropertiesArgs(
    public val appSecret: Output? = null,
    public val endpoint: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.notificationhubs.inputs.XiaomiCredentialPropertiesArgs =
        com.pulumi.azurenative.notificationhubs.inputs.XiaomiCredentialPropertiesArgs.builder()
            .appSecret(appSecret?.applyValue({ args0 -> args0 }))
            .endpoint(endpoint?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [XiaomiCredentialPropertiesArgs].
 */
@PulumiTagMarker
public class XiaomiCredentialPropertiesArgsBuilder internal constructor() {
    private var appSecret: Output? = null

    private var endpoint: Output? = null

    /**
     * @param value Gets or sets app secret.
     */
    @JvmName("nakurrrrnanpcukj")
    public suspend fun appSecret(`value`: Output) {
        this.appSecret = value
    }

    /**
     * @param value Gets or sets xiaomi service endpoint.
     */
    @JvmName("lbgivljjnqvupkdt")
    public suspend fun endpoint(`value`: Output) {
        this.endpoint = value
    }

    /**
     * @param value Gets or sets app secret.
     */
    @JvmName("saaxwvjvcsdtastn")
    public suspend fun appSecret(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.appSecret = mapped
    }

    /**
     * @param value Gets or sets xiaomi service endpoint.
     */
    @JvmName("syfpximhxxwwxbnu")
    public suspend fun endpoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpoint = mapped
    }

    internal fun build(): XiaomiCredentialPropertiesArgs = XiaomiCredentialPropertiesArgs(
        appSecret = appSecret,
        endpoint = endpoint,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy