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

com.pulumi.gcp.oracledatabase.kotlin.inputs.GetCloudVmClusterPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.oracledatabase.kotlin.inputs

import com.pulumi.gcp.oracledatabase.inputs.GetCloudVmClusterPlainArgs.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 getCloudVmCluster.
 * @property cloudVmClusterId The ID of the VM Cluster.
 * @property location The location of the resource.
 * - - -
 * @property project The project in which the resource belongs. If it
 * is not provided, the provider project is used.
 */
public data class GetCloudVmClusterPlainArgs(
    public val cloudVmClusterId: String,
    public val location: String,
    public val project: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.oracledatabase.inputs.GetCloudVmClusterPlainArgs =
        com.pulumi.gcp.oracledatabase.inputs.GetCloudVmClusterPlainArgs.builder()
            .cloudVmClusterId(cloudVmClusterId.let({ args0 -> args0 }))
            .location(location.let({ args0 -> args0 }))
            .project(project?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetCloudVmClusterPlainArgs].
 */
@PulumiTagMarker
public class GetCloudVmClusterPlainArgsBuilder internal constructor() {
    private var cloudVmClusterId: String? = null

    private var location: String? = null

    private var project: String? = null

    /**
     * @param value The ID of the VM Cluster.
     */
    @JvmName("gbjldiasdgwyxdos")
    public suspend fun cloudVmClusterId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.cloudVmClusterId = mapped
    }

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

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

    internal fun build(): GetCloudVmClusterPlainArgs = GetCloudVmClusterPlainArgs(
        cloudVmClusterId = cloudVmClusterId ?: throw PulumiNullFieldException("cloudVmClusterId"),
        location = location ?: throw PulumiNullFieldException("location"),
        project = project,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy