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

com.pulumi.gcp.projects.kotlin.inputs.GetProjectServicePlainArgs.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.projects.kotlin.inputs

import com.pulumi.gcp.projects.inputs.GetProjectServicePlainArgs.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

/**
 * A collection of arguments for invoking getProjectService.
 * @property project The project in which the resource belongs. If it
 * is not provided, the provider project is used.
 * @property service The name of the Google Platform project service.
 * - - -
 */
public data class GetProjectServicePlainArgs(
    public val project: String? = null,
    public val service: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.projects.inputs.GetProjectServicePlainArgs =
        com.pulumi.gcp.projects.inputs.GetProjectServicePlainArgs.builder()
            .project(project?.let({ args0 -> args0 }))
            .service(service.let({ args0 -> args0 })).build()
}

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

    private var service: String? = null

    /**
     * @param value The project in which the resource belongs. If it
     * is not provided, the provider project is used.
     */
    @JvmName("mdpkqpioqvemegaf")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.project = mapped
    }

    /**
     * @param value The name of the Google Platform project service.
     * - - -
     */
    @JvmName("wxsmafqrffucvriu")
    public suspend fun service(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.service = mapped
    }

    internal fun build(): GetProjectServicePlainArgs = GetProjectServicePlainArgs(
        project = project,
        service = service ?: throw PulumiNullFieldException("service"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy