com.pulumi.awsnative.cleanrooms.kotlin.inputs.MembershipQueryComputePaymentConfigArgs.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.MembershipQueryComputePaymentConfigArgs.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 member has accepted to pay for query compute costs ( `TRUE` ) or has not accepted to pay for query compute costs ( `FALSE` ).
* If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer.
* An error message is returned for the following reasons:
* - If you set the value to `FALSE` but you are responsible to pay for query compute costs.
* - If you set the value to `TRUE` but you are not responsible to pay for query compute costs.
*/
public data class MembershipQueryComputePaymentConfigArgs(
public val isResponsible: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cleanrooms.inputs.MembershipQueryComputePaymentConfigArgs =
com.pulumi.awsnative.cleanrooms.inputs.MembershipQueryComputePaymentConfigArgs.builder()
.isResponsible(isResponsible.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MembershipQueryComputePaymentConfigArgs].
*/
@PulumiTagMarker
public class MembershipQueryComputePaymentConfigArgsBuilder internal constructor() {
private var isResponsible: Output? = null
/**
* @param value Indicates whether the collaboration member has accepted to pay for query compute costs ( `TRUE` ) or has not accepted to pay for query compute costs ( `FALSE` ).
* If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer.
* An error message is returned for the following reasons:
* - If you set the value to `FALSE` but you are responsible to pay for query compute costs.
* - If you set the value to `TRUE` but you are not responsible to pay for query compute costs.
*/
@JvmName("gkivgyqqssihuahc")
public suspend fun isResponsible(`value`: Output) {
this.isResponsible = value
}
/**
* @param value Indicates whether the collaboration member has accepted to pay for query compute costs ( `TRUE` ) or has not accepted to pay for query compute costs ( `FALSE` ).
* If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer.
* An error message is returned for the following reasons:
* - If you set the value to `FALSE` but you are responsible to pay for query compute costs.
* - If you set the value to `TRUE` but you are not responsible to pay for query compute costs.
*/
@JvmName("bwcglpaishorwuao")
public suspend fun isResponsible(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.isResponsible = mapped
}
internal fun build(): MembershipQueryComputePaymentConfigArgs =
MembershipQueryComputePaymentConfigArgs(
isResponsible = isResponsible ?: throw PulumiNullFieldException("isResponsible"),
)
}