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

com.pulumi.googlenative.compute.alpha.kotlin.inputs.GetServiceAttachmentPlainArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.alpha.kotlin.inputs

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

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

    private var region: String? = null

    private var serviceAttachment: String? = null

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

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

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

    internal fun build(): GetServiceAttachmentPlainArgs = GetServiceAttachmentPlainArgs(
        project = project,
        region = region ?: throw PulumiNullFieldException("region"),
        serviceAttachment = serviceAttachment ?: throw PulumiNullFieldException("serviceAttachment"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy