com.pulumi.gcp.alloydb.kotlin.inputs.ClusterRestoreContinuousBackupSourceArgs.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.alloydb.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.alloydb.inputs.ClusterRestoreContinuousBackupSourceArgs.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 cluster The name of the source cluster that this cluster is restored from.
* @property pointInTime The point in time that this cluster is restored to, in RFC 3339 format.
*/
public data class ClusterRestoreContinuousBackupSourceArgs(
public val cluster: Output,
public val pointInTime: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.alloydb.inputs.ClusterRestoreContinuousBackupSourceArgs =
com.pulumi.gcp.alloydb.inputs.ClusterRestoreContinuousBackupSourceArgs.builder()
.cluster(cluster.applyValue({ args0 -> args0 }))
.pointInTime(pointInTime.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterRestoreContinuousBackupSourceArgs].
*/
@PulumiTagMarker
public class ClusterRestoreContinuousBackupSourceArgsBuilder internal constructor() {
private var cluster: Output? = null
private var pointInTime: Output? = null
/**
* @param value The name of the source cluster that this cluster is restored from.
*/
@JvmName("kqyvheblnnfxnnpf")
public suspend fun cluster(`value`: Output) {
this.cluster = value
}
/**
* @param value The point in time that this cluster is restored to, in RFC 3339 format.
*/
@JvmName("odwpeossytycphjm")
public suspend fun pointInTime(`value`: Output) {
this.pointInTime = value
}
/**
* @param value The name of the source cluster that this cluster is restored from.
*/
@JvmName("fnrxshriegntepvc")
public suspend fun cluster(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.cluster = mapped
}
/**
* @param value The point in time that this cluster is restored to, in RFC 3339 format.
*/
@JvmName("hkohshbmqtodehqi")
public suspend fun pointInTime(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.pointInTime = mapped
}
internal fun build(): ClusterRestoreContinuousBackupSourceArgs =
ClusterRestoreContinuousBackupSourceArgs(
cluster = cluster ?: throw PulumiNullFieldException("cluster"),
pointInTime = pointInTime ?: throw PulumiNullFieldException("pointInTime"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy