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

com.pulumi.awsnative.glue.kotlin.inputs.DatabaseFederatedDatabaseArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.glue.kotlin.inputs

import com.pulumi.awsnative.glue.inputs.DatabaseFederatedDatabaseArgs.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

/**
 * A FederatedDatabase structure that references an entity outside the AWS Glue Data Catalog.
 * @property connectionName The name of the connection to the external metastore.
 * @property identifier A unique identifier for the federated database.
 */
public data class DatabaseFederatedDatabaseArgs(
    public val connectionName: Output? = null,
    public val identifier: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.glue.inputs.DatabaseFederatedDatabaseArgs =
        com.pulumi.awsnative.glue.inputs.DatabaseFederatedDatabaseArgs.builder()
            .connectionName(connectionName?.applyValue({ args0 -> args0 }))
            .identifier(identifier?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DatabaseFederatedDatabaseArgs].
 */
@PulumiTagMarker
public class DatabaseFederatedDatabaseArgsBuilder internal constructor() {
    private var connectionName: Output? = null

    private var identifier: Output? = null

    /**
     * @param value The name of the connection to the external metastore.
     */
    @JvmName("uuaaeesvtxmwujdc")
    public suspend fun connectionName(`value`: Output) {
        this.connectionName = value
    }

    /**
     * @param value A unique identifier for the federated database.
     */
    @JvmName("lmdhnmujtekrovaf")
    public suspend fun identifier(`value`: Output) {
        this.identifier = value
    }

    /**
     * @param value The name of the connection to the external metastore.
     */
    @JvmName("rxjhgnrkhvbiemyf")
    public suspend fun connectionName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.connectionName = mapped
    }

    /**
     * @param value A unique identifier for the federated database.
     */
    @JvmName("furfsjsmwlqwahwc")
    public suspend fun identifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identifier = mapped
    }

    internal fun build(): DatabaseFederatedDatabaseArgs = DatabaseFederatedDatabaseArgs(
        connectionName = connectionName,
        identifier = identifier,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy