
com.pulumi.awsnative.cleanrooms.kotlin.outputs.CollaborationMemberSpecification.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.outputs
import com.pulumi.awsnative.cleanrooms.kotlin.enums.CollaborationMemberAbility
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property accountId The identifier used to reference members of the collaboration. Currently only supports AWS account ID.
* @property displayName The member's display name.
* @property memberAbilities The abilities granted to the collaboration member.
* *Allowed Values* : `CAN_QUERY` | `CAN_RECEIVE_RESULTS`
* @property paymentConfiguration The collaboration member's payment responsibilities set by the collaboration creator.
* 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.
*/
public data class CollaborationMemberSpecification(
public val accountId: String,
public val displayName: String,
public val memberAbilities: List,
public val paymentConfiguration: CollaborationPaymentConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cleanrooms.outputs.CollaborationMemberSpecification): CollaborationMemberSpecification = CollaborationMemberSpecification(
accountId = javaType.accountId(),
displayName = javaType.displayName(),
memberAbilities = javaType.memberAbilities().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cleanrooms.kotlin.enums.CollaborationMemberAbility.Companion.toKotlin(args0)
})
}),
paymentConfiguration = javaType.paymentConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.cleanrooms.kotlin.outputs.CollaborationPaymentConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy