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

com.pulumi.awsnative.customerprofiles.kotlin.inputs.GetCalculatedAttributeDefinitionPlainArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.customerprofiles.kotlin.inputs

import com.pulumi.awsnative.customerprofiles.inputs.GetCalculatedAttributeDefinitionPlainArgs.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 calculatedAttributeName The name of an attribute defined in a profile object type.
 * @property domainName The unique name of the domain.
 */
public data class GetCalculatedAttributeDefinitionPlainArgs(
    public val calculatedAttributeName: String,
    public val domainName: String,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.customerprofiles.inputs.GetCalculatedAttributeDefinitionPlainArgs =
        com.pulumi.awsnative.customerprofiles.inputs.GetCalculatedAttributeDefinitionPlainArgs.builder()
            .calculatedAttributeName(calculatedAttributeName.let({ args0 -> args0 }))
            .domainName(domainName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetCalculatedAttributeDefinitionPlainArgs].
 */
@PulumiTagMarker
public class GetCalculatedAttributeDefinitionPlainArgsBuilder internal constructor() {
    private var calculatedAttributeName: String? = null

    private var domainName: String? = null

    /**
     * @param value The name of an attribute defined in a profile object type.
     */
    @JvmName("pwwketkafbsjnqrw")
    public suspend fun calculatedAttributeName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.calculatedAttributeName = mapped
    }

    /**
     * @param value The unique name of the domain.
     */
    @JvmName("xvdvnhcqpqsydvvy")
    public suspend fun domainName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.domainName = mapped
    }

    internal fun build(): GetCalculatedAttributeDefinitionPlainArgs =
        GetCalculatedAttributeDefinitionPlainArgs(
            calculatedAttributeName = calculatedAttributeName ?: throw
                PulumiNullFieldException("calculatedAttributeName"),
            domainName = domainName ?: throw PulumiNullFieldException("domainName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy