
com.pulumi.gcp.dataproc.kotlin.inputs.GetMetastoreServicePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataproc.kotlin.inputs
import com.pulumi.gcp.dataproc.inputs.GetMetastoreServicePlainArgs.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 getMetastoreService.
* @property location The location where the metastore service resides.
* - - -
* @property project The project in which the resource belongs. If it
* is not provided, the provider project is used.
* @property serviceId The ID of the metastore service.
*/
public data class GetMetastoreServicePlainArgs(
public val location: String,
public val project: String? = null,
public val serviceId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataproc.inputs.GetMetastoreServicePlainArgs =
com.pulumi.gcp.dataproc.inputs.GetMetastoreServicePlainArgs.builder()
.location(location.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 }))
.serviceId(serviceId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetMetastoreServicePlainArgs].
*/
@PulumiTagMarker
public class GetMetastoreServicePlainArgsBuilder internal constructor() {
private var location: String? = null
private var project: String? = null
private var serviceId: String? = null
/**
* @param value The location where the metastore service resides.
* - - -
*/
@JvmName("rmmytfsmpxuhtkuq")
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("ghklqkalhydpvjhe")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
/**
* @param value The ID of the metastore service.
*/
@JvmName("wmkpuwjufatqigts")
public suspend fun serviceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.serviceId = mapped
}
internal fun build(): GetMetastoreServicePlainArgs = GetMetastoreServicePlainArgs(
location = location ?: throw PulumiNullFieldException("location"),
project = project,
serviceId = serviceId ?: throw PulumiNullFieldException("serviceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy