com.pulumi.aws.connect.kotlin.inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.connect.kotlin.inputs
import com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs.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
/**
*
* @property arn The Amazon Resource Name (ARN) of the hierarchy level.
* @property id The identifier of the hierarchy level.
* @property name The name of the user hierarchy level. Must not be more than 50 characters.
*/
public data class UserHierarchyStructureHierarchyStructureLevelOneArgs(
public val arn: Output? = null,
public val id: Output? = null,
public val name: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs =
com.pulumi.aws.connect.inputs.UserHierarchyStructureHierarchyStructureLevelOneArgs.builder()
.arn(arn?.applyValue({ args0 -> args0 }))
.id(id?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserHierarchyStructureHierarchyStructureLevelOneArgs].
*/
@PulumiTagMarker
public class UserHierarchyStructureHierarchyStructureLevelOneArgsBuilder internal constructor() {
private var arn: Output? = null
private var id: Output? = null
private var name: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the hierarchy level.
*/
@JvmName("typealgrqxrcfaqu")
public suspend fun arn(`value`: Output) {
this.arn = value
}
/**
* @param value The identifier of the hierarchy level.
*/
@JvmName("tfmkokvogarmalfr")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The name of the user hierarchy level. Must not be more than 50 characters.
*/
@JvmName("mkdahgjgilerrvpm")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The Amazon Resource Name (ARN) of the hierarchy level.
*/
@JvmName("buohpvlkyjdpnxux")
public suspend fun arn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.arn = mapped
}
/**
* @param value The identifier of the hierarchy level.
*/
@JvmName("exrpsoummqjqwixw")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The name of the user hierarchy level. Must not be more than 50 characters.
*/
@JvmName("tcvtfxssgtmlohdg")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): UserHierarchyStructureHierarchyStructureLevelOneArgs =
UserHierarchyStructureHierarchyStructureLevelOneArgs(
arn = arn,
id = id,
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy