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

com.pulumi.gcp.vertex.kotlin.AiEndpointIamBindingArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vertex.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vertex.AiEndpointIamBindingArgs.builder
import com.pulumi.gcp.vertex.kotlin.inputs.AiEndpointIamBindingConditionArgs
import com.pulumi.gcp.vertex.kotlin.inputs.AiEndpointIamBindingConditionArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property condition
 * @property endpoint
 * @property location
 * @property members
 * @property project
 * @property role
 */
public data class AiEndpointIamBindingArgs(
    public val condition: Output? = null,
    public val endpoint: Output? = null,
    public val location: Output? = null,
    public val members: Output>? = null,
    public val project: Output? = null,
    public val role: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vertex.AiEndpointIamBindingArgs =
        com.pulumi.gcp.vertex.AiEndpointIamBindingArgs.builder()
            .condition(condition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .endpoint(endpoint?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .members(members?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .project(project?.applyValue({ args0 -> args0 }))
            .role(role?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AiEndpointIamBindingArgs].
 */
@PulumiTagMarker
public class AiEndpointIamBindingArgsBuilder internal constructor() {
    private var condition: Output? = null

    private var endpoint: Output? = null

    private var location: Output? = null

    private var members: Output>? = null

    private var project: Output? = null

    private var role: Output? = null

    /**
     * @param value
     */
    @JvmName("dpjlhyhavrmmgpuh")
    public suspend fun condition(`value`: Output) {
        this.condition = value
    }

    /**
     * @param value
     */
    @JvmName("ovsfqlnjeuhnqkfv")
    public suspend fun endpoint(`value`: Output) {
        this.endpoint = value
    }

    /**
     * @param value
     */
    @JvmName("ppsemvvjsvmuypka")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value
     */
    @JvmName("ypjxgxacmqjnwvwf")
    public suspend fun members(`value`: Output>) {
        this.members = value
    }

    @JvmName("ykhtortjvtxtltyb")
    public suspend fun members(vararg values: Output) {
        this.members = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("pykyljjphxcvhgkf")
    public suspend fun members(values: List>) {
        this.members = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("fxmkcvyqwivsodci")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value
     */
    @JvmName("iaqpmbevmehllqhc")
    public suspend fun role(`value`: Output) {
        this.role = value
    }

    /**
     * @param value
     */
    @JvmName("vijwjvqcugsdmfku")
    public suspend fun condition(`value`: AiEndpointIamBindingConditionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.condition = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ukfvmbtpmxxvawsq")
    public suspend fun condition(argument: suspend AiEndpointIamBindingConditionArgsBuilder.() -> Unit) {
        val toBeMapped = AiEndpointIamBindingConditionArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.condition = mapped
    }

    /**
     * @param value
     */
    @JvmName("yhuifolpcrdgqmch")
    public suspend fun endpoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endpoint = mapped
    }

    /**
     * @param value
     */
    @JvmName("dbbnyhvfpbtkwfsl")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value
     */
    @JvmName("sdfkukxtuvstlaxm")
    public suspend fun members(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.members = mapped
    }

    /**
     * @param values
     */
    @JvmName("aafgaafcporovdyi")
    public suspend fun members(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.members = mapped
    }

    /**
     * @param value
     */
    @JvmName("lbmuidcjsslibccq")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.project = mapped
    }

    /**
     * @param value
     */
    @JvmName("xknqdklorwoodwfq")
    public suspend fun role(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.role = mapped
    }

    internal fun build(): AiEndpointIamBindingArgs = AiEndpointIamBindingArgs(
        condition = condition,
        endpoint = endpoint,
        location = location,
        members = members,
        project = project,
        role = role,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy