com.pulumi.gcp.sql.kotlin.inputs.DatabaseInstanceSettingsActiveDirectoryConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.sql.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.sql.inputs.DatabaseInstanceSettingsActiveDirectoryConfigArgs.builder
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
/**
*
* @property domain The domain name for the active directory (e.g., mydomain.com).
* Can only be used with SQL Server.
*/
public data class DatabaseInstanceSettingsActiveDirectoryConfigArgs(
public val domain: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.sql.inputs.DatabaseInstanceSettingsActiveDirectoryConfigArgs = com.pulumi.gcp.sql.inputs.DatabaseInstanceSettingsActiveDirectoryConfigArgs.builder()
.domain(domain.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatabaseInstanceSettingsActiveDirectoryConfigArgs].
*/
@PulumiTagMarker
public class DatabaseInstanceSettingsActiveDirectoryConfigArgsBuilder internal constructor() {
private var domain: Output? = null
/**
* @param value The domain name for the active directory (e.g., mydomain.com).
* Can only be used with SQL Server.
*/
@JvmName("vsvwfpcvxabacnih")
public suspend fun domain(`value`: Output) {
this.domain = value
}
/**
* @param value The domain name for the active directory (e.g., mydomain.com).
* Can only be used with SQL Server.
*/
@JvmName("ekjtkwbsolgjgdhw")
public suspend fun domain(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.domain = mapped
}
internal fun build(): DatabaseInstanceSettingsActiveDirectoryConfigArgs =
DatabaseInstanceSettingsActiveDirectoryConfigArgs(
domain = domain ?: throw PulumiNullFieldException("domain"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy