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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azurenative.notificationhubs.inputs.BaiduCredentialPropertiesArgs.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 BaiduCredential.
 * @property baiduApiKey Gets or sets baidu Api Key.
 * @property baiduEndPoint Gets or sets baidu Endpoint.
 * @property baiduSecretKey Gets or sets baidu Secret Key
 */
public data class BaiduCredentialPropertiesArgs(
    public val baiduApiKey: Output,
    public val baiduEndPoint: Output,
    public val baiduSecretKey: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.notificationhubs.inputs.BaiduCredentialPropertiesArgs =
        com.pulumi.azurenative.notificationhubs.inputs.BaiduCredentialPropertiesArgs.builder()
            .baiduApiKey(baiduApiKey.applyValue({ args0 -> args0 }))
            .baiduEndPoint(baiduEndPoint.applyValue({ args0 -> args0 }))
            .baiduSecretKey(baiduSecretKey.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BaiduCredentialPropertiesArgs].
 */
@PulumiTagMarker
public class BaiduCredentialPropertiesArgsBuilder internal constructor() {
    private var baiduApiKey: Output? = null

    private var baiduEndPoint: Output? = null

    private var baiduSecretKey: Output? = null

    /**
     * @param value Gets or sets baidu Api Key.
     */
    @JvmName("qxepronyigejjfuv")
    public suspend fun baiduApiKey(`value`: Output) {
        this.baiduApiKey = value
    }

    /**
     * @param value Gets or sets baidu Endpoint.
     */
    @JvmName("mhjrsybkwiiwfegb")
    public suspend fun baiduEndPoint(`value`: Output) {
        this.baiduEndPoint = value
    }

    /**
     * @param value Gets or sets baidu Secret Key
     */
    @JvmName("gtneoxhvyssycora")
    public suspend fun baiduSecretKey(`value`: Output) {
        this.baiduSecretKey = value
    }

    /**
     * @param value Gets or sets baidu Api Key.
     */
    @JvmName("eqhswifhwcyxyivp")
    public suspend fun baiduApiKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.baiduApiKey = mapped
    }

    /**
     * @param value Gets or sets baidu Endpoint.
     */
    @JvmName("pfqflmulhabyvldo")
    public suspend fun baiduEndPoint(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.baiduEndPoint = mapped
    }

    /**
     * @param value Gets or sets baidu Secret Key
     */
    @JvmName("yngtblarhgqbsuds")
    public suspend fun baiduSecretKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.baiduSecretKey = mapped
    }

    internal fun build(): BaiduCredentialPropertiesArgs = BaiduCredentialPropertiesArgs(
        baiduApiKey = baiduApiKey ?: throw PulumiNullFieldException("baiduApiKey"),
        baiduEndPoint = baiduEndPoint ?: throw PulumiNullFieldException("baiduEndPoint"),
        baiduSecretKey = baiduSecretKey ?: throw PulumiNullFieldException("baiduSecretKey"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy