com.pulumi.awsnative.appsync.kotlin.inputs.GetDomainNamePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appsync.kotlin.inputs
import com.pulumi.awsnative.appsync.inputs.GetDomainNamePlainArgs.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 domainName The domain name.
*/
public data class GetDomainNamePlainArgs(
public val domainName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appsync.inputs.GetDomainNamePlainArgs =
com.pulumi.awsnative.appsync.inputs.GetDomainNamePlainArgs.builder()
.domainName(domainName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDomainNamePlainArgs].
*/
@PulumiTagMarker
public class GetDomainNamePlainArgsBuilder internal constructor() {
private var domainName: String? = null
/**
* @param value The domain name.
*/
@JvmName("krxclrhwpflamuvv")
public suspend fun domainName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.domainName = mapped
}
internal fun build(): GetDomainNamePlainArgs = GetDomainNamePlainArgs(
domainName = domainName ?: throw PulumiNullFieldException("domainName"),
)
}