com.pulumi.gcp.dataplex.kotlin.inputs.ZoneResourceSpecArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.dataplex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.ZoneResourceSpecArgs.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 locationType Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION
* - - -
*/
public data class ZoneResourceSpecArgs(
public val locationType: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataplex.inputs.ZoneResourceSpecArgs =
com.pulumi.gcp.dataplex.inputs.ZoneResourceSpecArgs.builder()
.locationType(locationType.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZoneResourceSpecArgs].
*/
@PulumiTagMarker
public class ZoneResourceSpecArgsBuilder internal constructor() {
private var locationType: Output? = null
/**
* @param value Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION
* - - -
*/
@JvmName("gniomdnolnturpaf")
public suspend fun locationType(`value`: Output) {
this.locationType = value
}
/**
* @param value Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone. Possible values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION
* - - -
*/
@JvmName("aeymdvsicebpgdus")
public suspend fun locationType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.locationType = mapped
}
internal fun build(): ZoneResourceSpecArgs = ZoneResourceSpecArgs(
locationType = locationType ?: throw PulumiNullFieldException("locationType"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy