
com.pulumi.awsnative.customerprofiles.kotlin.inputs.IntegrationTaskPropertiesMapArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.customerprofiles.kotlin.inputs
import com.pulumi.awsnative.customerprofiles.inputs.IntegrationTaskPropertiesMapArgs.builder
import com.pulumi.awsnative.customerprofiles.kotlin.enums.IntegrationOperatorPropertiesKeys
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 operatorPropertyKey The task property key.
* @property property The task property value.
*/
public data class IntegrationTaskPropertiesMapArgs(
public val operatorPropertyKey: Output,
public val `property`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.customerprofiles.inputs.IntegrationTaskPropertiesMapArgs =
com.pulumi.awsnative.customerprofiles.inputs.IntegrationTaskPropertiesMapArgs.builder()
.operatorPropertyKey(
operatorPropertyKey.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.`property`(`property`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IntegrationTaskPropertiesMapArgs].
*/
@PulumiTagMarker
public class IntegrationTaskPropertiesMapArgsBuilder internal constructor() {
private var operatorPropertyKey: Output? = null
private var `property`: Output? = null
/**
* @param value The task property key.
*/
@JvmName("sbsyshfekjefkkmj")
public suspend fun operatorPropertyKey(`value`: Output) {
this.operatorPropertyKey = value
}
/**
* @param value The task property value.
*/
@JvmName("xowgguvjhrhjfvbi")
public suspend fun `property`(`value`: Output) {
this.`property` = value
}
/**
* @param value The task property key.
*/
@JvmName("imhdpfwhsiwrntre")
public suspend fun operatorPropertyKey(`value`: IntegrationOperatorPropertiesKeys) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.operatorPropertyKey = mapped
}
/**
* @param value The task property value.
*/
@JvmName("dlksaekblneklply")
public suspend fun `property`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`property` = mapped
}
internal fun build(): IntegrationTaskPropertiesMapArgs = IntegrationTaskPropertiesMapArgs(
operatorPropertyKey = operatorPropertyKey ?: throw PulumiNullFieldException("operatorPropertyKey"),
`property` = `property` ?: throw PulumiNullFieldException("property"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy