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

com.pulumi.azurenative.datamigration.kotlin.inputs.DatabaseInfoArgs.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.datamigration.kotlin.inputs

import com.pulumi.azurenative.datamigration.inputs.DatabaseInfoArgs.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

/**
 * Project Database Details
 * @property sourceDatabaseName Name of the database
 */
public data class DatabaseInfoArgs(
    public val sourceDatabaseName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datamigration.inputs.DatabaseInfoArgs =
        com.pulumi.azurenative.datamigration.inputs.DatabaseInfoArgs.builder()
            .sourceDatabaseName(sourceDatabaseName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DatabaseInfoArgs].
 */
@PulumiTagMarker
public class DatabaseInfoArgsBuilder internal constructor() {
    private var sourceDatabaseName: Output? = null

    /**
     * @param value Name of the database
     */
    @JvmName("ndwqttuxrvymglhp")
    public suspend fun sourceDatabaseName(`value`: Output) {
        this.sourceDatabaseName = value
    }

    /**
     * @param value Name of the database
     */
    @JvmName("cegpvvgqelpwljyp")
    public suspend fun sourceDatabaseName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sourceDatabaseName = mapped
    }

    internal fun build(): DatabaseInfoArgs = DatabaseInfoArgs(
        sourceDatabaseName = sourceDatabaseName ?: throw PulumiNullFieldException("sourceDatabaseName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy