
com.pulumi.awsnative.opensearchservice.kotlin.inputs.GetDomainPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.opensearchservice.kotlin.inputs
import com.pulumi.awsnative.opensearchservice.inputs.GetDomainPlainArgs.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 A name for the OpenSearch Service domain. The name must have a minimum length of 3 and a maximum length of 28. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the domain name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) .
* Required when creating a new domain.
* > If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*/
public data class GetDomainPlainArgs(
public val domainName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.opensearchservice.inputs.GetDomainPlainArgs =
com.pulumi.awsnative.opensearchservice.inputs.GetDomainPlainArgs.builder()
.domainName(domainName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetDomainPlainArgs].
*/
@PulumiTagMarker
public class GetDomainPlainArgsBuilder internal constructor() {
private var domainName: String? = null
/**
* @param value A name for the OpenSearch Service domain. The name must have a minimum length of 3 and a maximum length of 28. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the domain name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) .
* Required when creating a new domain.
* > If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.
*/
@JvmName("ldosefkelcbhftkx")
public suspend fun domainName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.domainName = mapped
}
internal fun build(): GetDomainPlainArgs = GetDomainPlainArgs(
domainName = domainName ?: throw PulumiNullFieldException("domainName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy