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

com.pulumi.gcp.compute.kotlin.inputs.GetForwardingRulesPlainArgs.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.gcp.compute.inputs.GetForwardingRulesPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getForwardingRules.
 * @property project The name of the project.
 * @property region The region you want to get the forwarding rules from.
 * These arguments must be set in either the provider or the resouce in order for the information to be queried.
 */
public data class GetForwardingRulesPlainArgs(
    public val project: String? = null,
    public val region: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.GetForwardingRulesPlainArgs =
        com.pulumi.gcp.compute.inputs.GetForwardingRulesPlainArgs.builder()
            .project(project?.let({ args0 -> args0 }))
            .region(region?.let({ args0 -> args0 })).build()
}

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

    private var region: String? = null

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

    /**
     * @param value The region you want to get the forwarding rules from.
     * These arguments must be set in either the provider or the resouce in order for the information to be queried.
     */
    @JvmName("ycvcbwfgeogdesth")
    public suspend fun region(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.region = mapped
    }

    internal fun build(): GetForwardingRulesPlainArgs = GetForwardingRulesPlainArgs(
        project = project,
        region = region,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy