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

com.pulumi.googlenative.iam.v1.kotlin.inputs.GetServiceAccountPlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.iam.v1.kotlin.inputs

import com.pulumi.googlenative.iam.v1.inputs.GetServiceAccountPlainArgs.builder
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 project
 * @property serviceAccountId
 */
public data class GetServiceAccountPlainArgs(
    public val project: String? = null,
    public val serviceAccountId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.iam.v1.inputs.GetServiceAccountPlainArgs =
        com.pulumi.googlenative.iam.v1.inputs.GetServiceAccountPlainArgs.builder()
            .project(project?.let({ args0 -> args0 }))
            .serviceAccountId(serviceAccountId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetServiceAccountPlainArgs].
 */
@PulumiTagMarker
public class GetServiceAccountPlainArgsBuilder internal constructor() {
    private var project: String? = null

    private var serviceAccountId: String? = null

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

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

    internal fun build(): GetServiceAccountPlainArgs = GetServiceAccountPlainArgs(
        project = project,
        serviceAccountId = serviceAccountId ?: throw PulumiNullFieldException("serviceAccountId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy