com.pulumi.gcp.storage.kotlin.inputs.BucketCustomPlacementConfigArgs.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.storage.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.storage.inputs.BucketCustomPlacementConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property dataLocations The list of individual regions that comprise a dual-region bucket. See [Cloud Storage bucket locations](https://cloud.google.com/storage/docs/dual-regions#availability) for a list of acceptable regions. **Note**: If any of the data_locations changes, it will [recreate the bucket](https://cloud.google.com/storage/docs/locations#key-concepts).
*/
public data class BucketCustomPlacementConfigArgs(
public val dataLocations: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.storage.inputs.BucketCustomPlacementConfigArgs =
com.pulumi.gcp.storage.inputs.BucketCustomPlacementConfigArgs.builder()
.dataLocations(dataLocations.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [BucketCustomPlacementConfigArgs].
*/
@PulumiTagMarker
public class BucketCustomPlacementConfigArgsBuilder internal constructor() {
private var dataLocations: Output>? = null
/**
* @param value The list of individual regions that comprise a dual-region bucket. See [Cloud Storage bucket locations](https://cloud.google.com/storage/docs/dual-regions#availability) for a list of acceptable regions. **Note**: If any of the data_locations changes, it will [recreate the bucket](https://cloud.google.com/storage/docs/locations#key-concepts).
*/
@JvmName("vybneobleraunkep")
public suspend fun dataLocations(`value`: Output>) {
this.dataLocations = value
}
@JvmName("fcjresrvdoftiwou")
public suspend fun dataLocations(vararg values: Output) {
this.dataLocations = Output.all(values.asList())
}
/**
* @param values The list of individual regions that comprise a dual-region bucket. See [Cloud Storage bucket locations](https://cloud.google.com/storage/docs/dual-regions#availability) for a list of acceptable regions. **Note**: If any of the data_locations changes, it will [recreate the bucket](https://cloud.google.com/storage/docs/locations#key-concepts).
*/
@JvmName("tovvkgeqqmctbnto")
public suspend fun dataLocations(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy