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

com.pulumi.googlenative.gkehub.v1beta.kotlin.inputs.GetFeaturePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.gkehub.v1beta.kotlin.inputs

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

/**
 * Builder for [GetFeaturePlainArgs].
 */
@PulumiTagMarker
public class GetFeaturePlainArgsBuilder internal constructor() {
    private var featureId: String? = null

    private var location: String? = null

    private var project: String? = null

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

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

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

    internal fun build(): GetFeaturePlainArgs = GetFeaturePlainArgs(
        featureId = featureId ?: throw PulumiNullFieldException("featureId"),
        location = location ?: throw PulumiNullFieldException("location"),
        project = project,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy