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

com.pulumi.azurenative.datafactory.kotlin.inputs.HiveLinkedServiceArgs.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.datafactory.kotlin.inputs

import com.pulumi.azurenative.datafactory.inputs.HiveLinkedServiceArgs.builder
import com.pulumi.azurenative.datafactory.kotlin.enums.HiveAuthenticationType
import com.pulumi.azurenative.datafactory.kotlin.enums.HiveServerType
import com.pulumi.azurenative.datafactory.kotlin.enums.HiveThriftTransportProtocol
import com.pulumi.core.Either
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 com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Hive Server linked service.
 * @property allowHostNameCNMismatch Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
 * @property allowSelfSignedServerCert Specifies whether to allow self-signed certificates from the server. The default value is false.
 * @property annotations List of tags that can be used for describing the linked service.
 * @property authenticationType The authentication method used to access the Hive server.
 * @property connectVia The integration runtime reference.
 * @property description Linked service description.
 * @property enableSsl Specifies whether the connections to the server are encrypted using SSL. The default value is false.
 * @property encryptedCredential The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
 * @property host IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).
 * @property httpPath The partial URL corresponding to the Hive server.
 * @property parameters Parameters for linked service.
 * @property password The password corresponding to the user name that you provided in the Username field
 * @property port The TCP port that the Hive server uses to listen for client connections.
 * @property serverType The type of Hive server.
 * @property serviceDiscoveryMode true to indicate using the ZooKeeper service, false not.
 * @property thriftTransportProtocol The transport protocol to use in the Thrift layer.
 * @property trustedCertPath The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
 * @property type Type of linked service.
 * Expected value is 'Hive'.
 * @property useNativeQuery Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.
 * @property useSystemTrustStore Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
 * @property username The user name that you use to access Hive Server.
 * @property version Version of the linked service.
 * @property zooKeeperNameSpace The namespace on ZooKeeper under which Hive Server 2 nodes are added.
 */
public data class HiveLinkedServiceArgs(
    public val allowHostNameCNMismatch: Output? = null,
    public val allowSelfSignedServerCert: Output? = null,
    public val annotations: Output>? = null,
    public val authenticationType: Output>,
    public val connectVia: Output? = null,
    public val description: Output? = null,
    public val enableSsl: Output? = null,
    public val encryptedCredential: Output? = null,
    public val host: Output,
    public val httpPath: Output? = null,
    public val parameters: Output>? = null,
    public val password: Output>? = null,
    public val port: Output? = null,
    public val serverType: Output>? = null,
    public val serviceDiscoveryMode: Output? = null,
    public val thriftTransportProtocol: Output>? = null,
    public val trustedCertPath: Output? = null,
    public val type: Output,
    public val useNativeQuery: Output? = null,
    public val useSystemTrustStore: Output? = null,
    public val username: Output? = null,
    public val version: Output? = null,
    public val zooKeeperNameSpace: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.HiveLinkedServiceArgs =
        com.pulumi.azurenative.datafactory.inputs.HiveLinkedServiceArgs.builder()
            .allowHostNameCNMismatch(allowHostNameCNMismatch?.applyValue({ args0 -> args0 }))
            .allowSelfSignedServerCert(allowSelfSignedServerCert?.applyValue({ args0 -> args0 }))
            .annotations(annotations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .authenticationType(
                authenticationType.applyValue({ args0 ->
                    args0.transform(
                        { args0 -> args0 },
                        { args0 -> args0.let({ args0 -> args0.toJava() }) },
                    )
                }),
            )
            .connectVia(connectVia?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .description(description?.applyValue({ args0 -> args0 }))
            .enableSsl(enableSsl?.applyValue({ args0 -> args0 }))
            .encryptedCredential(encryptedCredential?.applyValue({ args0 -> args0 }))
            .host(host.applyValue({ args0 -> args0 }))
            .httpPath(httpPath?.applyValue({ args0 -> args0 }))
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value.let({ args0 -> args0.toJava() }))
                    }).toMap()
                }),
            )
            .password(
                password?.applyValue({ args0 ->
                    args0.transform({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .port(port?.applyValue({ args0 -> args0 }))
            .serverType(
                serverType?.applyValue({ args0 ->
                    args0.transform({ args0 -> args0 }, { args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .serviceDiscoveryMode(serviceDiscoveryMode?.applyValue({ args0 -> args0 }))
            .thriftTransportProtocol(
                thriftTransportProtocol?.applyValue({ args0 ->
                    args0.transform({ args0 ->
                        args0
                    }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            )
            .trustedCertPath(trustedCertPath?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 }))
            .useNativeQuery(useNativeQuery?.applyValue({ args0 -> args0 }))
            .useSystemTrustStore(useSystemTrustStore?.applyValue({ args0 -> args0 }))
            .username(username?.applyValue({ args0 -> args0 }))
            .version(version?.applyValue({ args0 -> args0 }))
            .zooKeeperNameSpace(zooKeeperNameSpace?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [HiveLinkedServiceArgs].
 */
@PulumiTagMarker
public class HiveLinkedServiceArgsBuilder internal constructor() {
    private var allowHostNameCNMismatch: Output? = null

    private var allowSelfSignedServerCert: Output? = null

    private var annotations: Output>? = null

    private var authenticationType: Output>? = null

    private var connectVia: Output? = null

    private var description: Output? = null

    private var enableSsl: Output? = null

    private var encryptedCredential: Output? = null

    private var host: Output? = null

    private var httpPath: Output? = null

    private var parameters: Output>? = null

    private var password: Output>? = null

    private var port: Output? = null

    private var serverType: Output>? = null

    private var serviceDiscoveryMode: Output? = null

    private var thriftTransportProtocol: Output>? = null

    private var trustedCertPath: Output? = null

    private var type: Output? = null

    private var useNativeQuery: Output? = null

    private var useSystemTrustStore: Output? = null

    private var username: Output? = null

    private var version: Output? = null

    private var zooKeeperNameSpace: Output? = null

    /**
     * @param value Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
     */
    @JvmName("ytvedeyjejqxvruy")
    public suspend fun allowHostNameCNMismatch(`value`: Output) {
        this.allowHostNameCNMismatch = value
    }

    /**
     * @param value Specifies whether to allow self-signed certificates from the server. The default value is false.
     */
    @JvmName("lepyuwpfbncvsoly")
    public suspend fun allowSelfSignedServerCert(`value`: Output) {
        this.allowSelfSignedServerCert = value
    }

    /**
     * @param value List of tags that can be used for describing the linked service.
     */
    @JvmName("ecleiscvrdonydlo")
    public suspend fun annotations(`value`: Output>) {
        this.annotations = value
    }

    @JvmName("buvyipxsnsagwkji")
    public suspend fun annotations(vararg values: Output) {
        this.annotations = Output.all(values.asList())
    }

    /**
     * @param values List of tags that can be used for describing the linked service.
     */
    @JvmName("iqmovdqcmsqmjjaf")
    public suspend fun annotations(values: List>) {
        this.annotations = Output.all(values)
    }

    /**
     * @param value The authentication method used to access the Hive server.
     */
    @JvmName("htcuceupbaghmkih")
    public suspend fun authenticationType(`value`: Output>) {
        this.authenticationType = value
    }

    /**
     * @param value The integration runtime reference.
     */
    @JvmName("drkgadpbctfuqmmm")
    public suspend fun connectVia(`value`: Output) {
        this.connectVia = value
    }

    /**
     * @param value Linked service description.
     */
    @JvmName("bdeygiqceqkpswfl")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Specifies whether the connections to the server are encrypted using SSL. The default value is false.
     */
    @JvmName("qkhebrxpnlffmxxc")
    public suspend fun enableSsl(`value`: Output) {
        this.enableSsl = value
    }

    /**
     * @param value The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
     */
    @JvmName("ppghjdifvyfagvte")
    public suspend fun encryptedCredential(`value`: Output) {
        this.encryptedCredential = value
    }

    /**
     * @param value IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).
     */
    @JvmName("djfbxvvmcxuepnyg")
    public suspend fun host(`value`: Output) {
        this.host = value
    }

    /**
     * @param value The partial URL corresponding to the Hive server.
     */
    @JvmName("ohprtnxysxlheffy")
    public suspend fun httpPath(`value`: Output) {
        this.httpPath = value
    }

    /**
     * @param value Parameters for linked service.
     */
    @JvmName("subaddaqlmojjeut")
    public suspend fun parameters(`value`: Output>) {
        this.parameters = value
    }

    /**
     * @param value The password corresponding to the user name that you provided in the Username field
     */
    @JvmName("xsiodqfrjurukpkg")
    public suspend fun password(`value`: Output>) {
        this.password = value
    }

    /**
     * @param value The TCP port that the Hive server uses to listen for client connections.
     */
    @JvmName("icjtajomyktdyfdg")
    public suspend fun port(`value`: Output) {
        this.port = value
    }

    /**
     * @param value The type of Hive server.
     */
    @JvmName("ltuoimcjsptosucx")
    public suspend fun serverType(`value`: Output>) {
        this.serverType = value
    }

    /**
     * @param value true to indicate using the ZooKeeper service, false not.
     */
    @JvmName("vwoiljovbtriyflv")
    public suspend fun serviceDiscoveryMode(`value`: Output) {
        this.serviceDiscoveryMode = value
    }

    /**
     * @param value The transport protocol to use in the Thrift layer.
     */
    @JvmName("aokpgttcdnwdbyja")
    public suspend fun thriftTransportProtocol(`value`: Output>) {
        this.thriftTransportProtocol = value
    }

    /**
     * @param value The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
     */
    @JvmName("mpnsfslwgydfdtak")
    public suspend fun trustedCertPath(`value`: Output) {
        this.trustedCertPath = value
    }

    /**
     * @param value Type of linked service.
     * Expected value is 'Hive'.
     */
    @JvmName("fgmenmwhmdanwllk")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.
     */
    @JvmName("wlitjktycrijhixm")
    public suspend fun useNativeQuery(`value`: Output) {
        this.useNativeQuery = value
    }

    /**
     * @param value Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
     */
    @JvmName("xxxsrdtycbmqvoes")
    public suspend fun useSystemTrustStore(`value`: Output) {
        this.useSystemTrustStore = value
    }

    /**
     * @param value The user name that you use to access Hive Server.
     */
    @JvmName("tjhnrtdhawyyarod")
    public suspend fun username(`value`: Output) {
        this.username = value
    }

    /**
     * @param value Version of the linked service.
     */
    @JvmName("scuegjimjkoodaad")
    public suspend fun version(`value`: Output) {
        this.version = value
    }

    /**
     * @param value The namespace on ZooKeeper under which Hive Server 2 nodes are added.
     */
    @JvmName("gpuomppfenlwhrfy")
    public suspend fun zooKeeperNameSpace(`value`: Output) {
        this.zooKeeperNameSpace = value
    }

    /**
     * @param value Specifies whether to require a CA-issued SSL certificate name to match the host name of the server when connecting over SSL. The default value is false.
     */
    @JvmName("tvdhmnsgfcnnxkio")
    public suspend fun allowHostNameCNMismatch(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowHostNameCNMismatch = mapped
    }

    /**
     * @param value Specifies whether to allow self-signed certificates from the server. The default value is false.
     */
    @JvmName("hpeybpweuwsololp")
    public suspend fun allowSelfSignedServerCert(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowSelfSignedServerCert = mapped
    }

    /**
     * @param value List of tags that can be used for describing the linked service.
     */
    @JvmName("rehhxtpffqdkdget")
    public suspend fun annotations(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.annotations = mapped
    }

    /**
     * @param values List of tags that can be used for describing the linked service.
     */
    @JvmName("cdhwqwrixoxpvtqa")
    public suspend fun annotations(vararg values: Any) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.annotations = mapped
    }

    /**
     * @param value The authentication method used to access the Hive server.
     */
    @JvmName("iywslupcogpfygdt")
    public suspend fun authenticationType(`value`: Either) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.authenticationType = mapped
    }

    /**
     * @param value The authentication method used to access the Hive server.
     */
    @JvmName("kjrxaqyblhcdkmkc")
    public fun authenticationType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.authenticationType = mapped
    }

    /**
     * @param value The authentication method used to access the Hive server.
     */
    @JvmName("ffenddvptaxeeigp")
    public fun authenticationType(`value`: HiveAuthenticationType) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.authenticationType = mapped
    }

    /**
     * @param value The integration runtime reference.
     */
    @JvmName("qweyphkrsfwinmom")
    public suspend fun connectVia(`value`: IntegrationRuntimeReferenceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.connectVia = mapped
    }

    /**
     * @param argument The integration runtime reference.
     */
    @JvmName("fjugnrprvfrsrmeo")
    public suspend fun connectVia(argument: suspend IntegrationRuntimeReferenceArgsBuilder.() -> Unit) {
        val toBeMapped = IntegrationRuntimeReferenceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.connectVia = mapped
    }

    /**
     * @param value Linked service description.
     */
    @JvmName("larmxqyxkmxmlkfa")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Specifies whether the connections to the server are encrypted using SSL. The default value is false.
     */
    @JvmName("pqyxolcknmpqigeq")
    public suspend fun enableSsl(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableSsl = mapped
    }

    /**
     * @param value The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
     */
    @JvmName("mjbmhoihymghichj")
    public suspend fun encryptedCredential(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encryptedCredential = mapped
    }

    /**
     * @param value IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).
     */
    @JvmName("ardfxlkiwlltbwol")
    public suspend fun host(`value`: Any) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.host = mapped
    }

    /**
     * @param value The partial URL corresponding to the Hive server.
     */
    @JvmName("hivulfmfxlvfecdb")
    public suspend fun httpPath(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpPath = mapped
    }

    /**
     * @param value Parameters for linked service.
     */
    @JvmName("wywfxfppfpmnfisk")
    public suspend fun parameters(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param argument Parameters for linked service.
     */
    @JvmName("putdspnflmhiijhf")
    public suspend fun parameters(vararg argument: Pair Unit>) {
        val toBeMapped = argument.toList().map { (left, right) ->
            left to
                ParameterSpecificationArgsBuilder().applySuspend { right() }.build()
        }.toMap()
        val mapped = of(toBeMapped)
        this.parameters = mapped
    }

    /**
     * @param values Parameters for linked service.
     */
    @JvmName("kceekjvhjavlffxx")
    public fun parameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param value The password corresponding to the user name that you provided in the Username field
     */
    @JvmName("glkklyabimvopxjm")
    public suspend fun password(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value The password corresponding to the user name that you provided in the Username field
     */
    @JvmName("vhibiubnbehbhdlh")
    public fun password(`value`: AzureKeyVaultSecretReferenceArgs) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value The password corresponding to the user name that you provided in the Username field
     */
    @JvmName("egtexxftvhddqkfd")
    public fun password(`value`: SecureStringArgs) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.password = mapped
    }

    /**
     * @param value The TCP port that the Hive server uses to listen for client connections.
     */
    @JvmName("elqlqshdiemhoxdg")
    public suspend fun port(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.port = mapped
    }

    /**
     * @param value The type of Hive server.
     */
    @JvmName("kjrucmvqboatemka")
    public suspend fun serverType(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serverType = mapped
    }

    /**
     * @param value The type of Hive server.
     */
    @JvmName("ahkufiefncnkrkag")
    public fun serverType(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.serverType = mapped
    }

    /**
     * @param value The type of Hive server.
     */
    @JvmName("aikgppemnqdkhmkd")
    public fun serverType(`value`: HiveServerType) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.serverType = mapped
    }

    /**
     * @param value true to indicate using the ZooKeeper service, false not.
     */
    @JvmName("rtrowxesxynupywv")
    public suspend fun serviceDiscoveryMode(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceDiscoveryMode = mapped
    }

    /**
     * @param value The transport protocol to use in the Thrift layer.
     */
    @JvmName("uksrofwpnvvisifg")
    public suspend fun thriftTransportProtocol(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.thriftTransportProtocol = mapped
    }

    /**
     * @param value The transport protocol to use in the Thrift layer.
     */
    @JvmName("bdcoepgfwatucjdi")
    public fun thriftTransportProtocol(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.thriftTransportProtocol = mapped
    }

    /**
     * @param value The transport protocol to use in the Thrift layer.
     */
    @JvmName("gmjwnyqhyddeljxe")
    public fun thriftTransportProtocol(`value`: HiveThriftTransportProtocol) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.thriftTransportProtocol = mapped
    }

    /**
     * @param value The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.
     */
    @JvmName("rrgchcslfxyfkcip")
    public suspend fun trustedCertPath(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.trustedCertPath = mapped
    }

    /**
     * @param value Type of linked service.
     * Expected value is 'Hive'.
     */
    @JvmName("mcfndgwuufmhytex")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    /**
     * @param value Specifies whether the driver uses native HiveQL queries,or converts them into an equivalent form in HiveQL.
     */
    @JvmName("hgtwbqbrhurtoruq")
    public suspend fun useNativeQuery(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.useNativeQuery = mapped
    }

    /**
     * @param value Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.
     */
    @JvmName("qqeerguimhuqjkgr")
    public suspend fun useSystemTrustStore(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.useSystemTrustStore = mapped
    }

    /**
     * @param value The user name that you use to access Hive Server.
     */
    @JvmName("hhvatqlykxhkjfew")
    public suspend fun username(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.username = mapped
    }

    /**
     * @param value Version of the linked service.
     */
    @JvmName("ugvqjsmryeyedect")
    public suspend fun version(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.version = mapped
    }

    /**
     * @param value The namespace on ZooKeeper under which Hive Server 2 nodes are added.
     */
    @JvmName("tuaxnraxkfxqxwjm")
    public suspend fun zooKeeperNameSpace(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.zooKeeperNameSpace = mapped
    }

    internal fun build(): HiveLinkedServiceArgs = HiveLinkedServiceArgs(
        allowHostNameCNMismatch = allowHostNameCNMismatch,
        allowSelfSignedServerCert = allowSelfSignedServerCert,
        annotations = annotations,
        authenticationType = authenticationType ?: throw PulumiNullFieldException("authenticationType"),
        connectVia = connectVia,
        description = description,
        enableSsl = enableSsl,
        encryptedCredential = encryptedCredential,
        host = host ?: throw PulumiNullFieldException("host"),
        httpPath = httpPath,
        parameters = parameters,
        password = password,
        port = port,
        serverType = serverType,
        serviceDiscoveryMode = serviceDiscoveryMode,
        thriftTransportProtocol = thriftTransportProtocol,
        trustedCertPath = trustedCertPath,
        type = type ?: throw PulumiNullFieldException("type"),
        useNativeQuery = useNativeQuery,
        useSystemTrustStore = useSystemTrustStore,
        username = username,
        version = version,
        zooKeeperNameSpace = zooKeeperNameSpace,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy