com.pulumi.gcp.gkebackup.kotlin.inputs.BackupPlanBackupConfigSelectedNamespacesArgs.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.gkebackup.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkebackup.inputs.BackupPlanBackupConfigSelectedNamespacesArgs.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 namespaces A list of Kubernetes Namespaces.
*/
public data class BackupPlanBackupConfigSelectedNamespacesArgs(
public val namespaces: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkebackup.inputs.BackupPlanBackupConfigSelectedNamespacesArgs =
com.pulumi.gcp.gkebackup.inputs.BackupPlanBackupConfigSelectedNamespacesArgs.builder()
.namespaces(namespaces.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [BackupPlanBackupConfigSelectedNamespacesArgs].
*/
@PulumiTagMarker
public class BackupPlanBackupConfigSelectedNamespacesArgsBuilder internal constructor() {
private var namespaces: Output>? = null
/**
* @param value A list of Kubernetes Namespaces.
*/
@JvmName("pborlsrqgvhhbfpx")
public suspend fun namespaces(`value`: Output>) {
this.namespaces = value
}
@JvmName("jdufrbwrcqjxdxuo")
public suspend fun namespaces(vararg values: Output) {
this.namespaces = Output.all(values.asList())
}
/**
* @param values A list of Kubernetes Namespaces.
*/
@JvmName("mdjkyvtuhankrbuw")
public suspend fun namespaces(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy