
com.pulumi.googlenative.policysimulator.v1.kotlin.FolderReplayArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.policysimulator.v1.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.policysimulator.v1.FolderReplayArgs.builder
import com.pulumi.googlenative.policysimulator.v1.kotlin.inputs.GoogleCloudPolicysimulatorV1ReplayConfigArgs
import com.pulumi.googlenative.policysimulator.v1.kotlin.inputs.GoogleCloudPolicysimulatorV1ReplayConfigArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Creates and starts a Replay using the given ReplayConfig.
* Auto-naming is currently not supported for this resource.
* Note - this resource's API doesn't support deletion. When deleted, the resource will persist
* on Google Cloud even though it will be deleted from Pulumi state.
* @property config The configuration used for the `Replay`.
* @property folderId
* @property location
*/
public data class FolderReplayArgs(
public val config: Output? = null,
public val folderId: Output? = null,
public val location: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.policysimulator.v1.FolderReplayArgs =
com.pulumi.googlenative.policysimulator.v1.FolderReplayArgs.builder()
.config(config?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.folderId(folderId?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FolderReplayArgs].
*/
@PulumiTagMarker
public class FolderReplayArgsBuilder internal constructor() {
private var config: Output? = null
private var folderId: Output? = null
private var location: Output? = null
/**
* @param value The configuration used for the `Replay`.
*/
@JvmName("ggsdqkybffndqgvc")
public suspend fun config(`value`: Output) {
this.config = value
}
/**
* @param value
*/
@JvmName("pcsxbtfvtedraogm")
public suspend fun folderId(`value`: Output) {
this.folderId = value
}
/**
* @param value
*/
@JvmName("qorutbpqfiunwsef")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value The configuration used for the `Replay`.
*/
@JvmName("iotnbwsjqcwyehjq")
public suspend fun config(`value`: GoogleCloudPolicysimulatorV1ReplayConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.config = mapped
}
/**
* @param argument The configuration used for the `Replay`.
*/
@JvmName("udokeexplgedceso")
public suspend fun config(argument: suspend GoogleCloudPolicysimulatorV1ReplayConfigArgsBuilder.() -> Unit) {
val toBeMapped = GoogleCloudPolicysimulatorV1ReplayConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.config = mapped
}
/**
* @param value
*/
@JvmName("ttiguqbgmxuhxbmu")
public suspend fun folderId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.folderId = mapped
}
/**
* @param value
*/
@JvmName("dpitqvtjdjwmhkxm")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
internal fun build(): FolderReplayArgs = FolderReplayArgs(
config = config,
folderId = folderId,
location = location,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy