
com.pulumi.awsnative.cleanrooms.kotlin.inputs.CollaborationQueryComputePaymentConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.cleanrooms.kotlin.inputs
import com.pulumi.awsnative.cleanrooms.inputs.CollaborationQueryComputePaymentConfigArgs.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.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property isResponsible Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs ( `TRUE` ) or has not configured the collaboration member to pay for query compute costs ( `FALSE` ).
* Exactly one member can be configured to pay for query compute costs. An error is returned if the collaboration creator sets a `TRUE` value for more than one member in the collaboration.
* If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a `FALSE` value for the member who can query.
*/
public data class CollaborationQueryComputePaymentConfigArgs(
public val isResponsible: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cleanrooms.inputs.CollaborationQueryComputePaymentConfigArgs =
com.pulumi.awsnative.cleanrooms.inputs.CollaborationQueryComputePaymentConfigArgs.builder()
.isResponsible(isResponsible.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CollaborationQueryComputePaymentConfigArgs].
*/
@PulumiTagMarker
public class CollaborationQueryComputePaymentConfigArgsBuilder internal constructor() {
private var isResponsible: Output? = null
/**
* @param value Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs ( `TRUE` ) or has not configured the collaboration member to pay for query compute costs ( `FALSE` ).
* Exactly one member can be configured to pay for query compute costs. An error is returned if the collaboration creator sets a `TRUE` value for more than one member in the collaboration.
* If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a `FALSE` value for the member who can query.
*/
@JvmName("lenhrlqnrkyhdbyt")
public suspend fun isResponsible(`value`: Output) {
this.isResponsible = value
}
/**
* @param value Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs ( `TRUE` ) or has not configured the collaboration member to pay for query compute costs ( `FALSE` ).
* Exactly one member can be configured to pay for query compute costs. An error is returned if the collaboration creator sets a `TRUE` value for more than one member in the collaboration.
* If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a `FALSE` value for the member who can query.
*/
@JvmName("fqrerrliapsqetls")
public suspend fun isResponsible(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.isResponsible = mapped
}
internal fun build(): CollaborationQueryComputePaymentConfigArgs =
CollaborationQueryComputePaymentConfigArgs(
isResponsible = isResponsible ?: throw PulumiNullFieldException("isResponsible"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy