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

com.pulumi.googlenative.compute.alpha.kotlin.inputs.GetPublicDelegatedPrefixPlainArgs.kt Maven / Gradle / Ivy

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

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

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

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

    private var publicDelegatedPrefix: String? = null

    private var region: String? = null

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

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

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

    internal fun build(): GetPublicDelegatedPrefixPlainArgs = GetPublicDelegatedPrefixPlainArgs(
        project = project,
        publicDelegatedPrefix = publicDelegatedPrefix ?: throw
            PulumiNullFieldException("publicDelegatedPrefix"),
        region = region ?: throw PulumiNullFieldException("region"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy