com.pulumi.gcp.gkebackup.kotlin.inputs.BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs.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.BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs.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 name The name of a Kubernetes Resource.
* @property namespace The namespace of a Kubernetes Resource.
*/
public data class BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs(
public val name: Output,
public val namespace: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkebackup.inputs.BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs =
com.pulumi.gcp.gkebackup.inputs.BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.namespace(namespace.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs].
*/
@PulumiTagMarker
public class BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgsBuilder internal constructor() {
private var name: Output? = null
private var namespace: Output? = null
/**
* @param value The name of a Kubernetes Resource.
*/
@JvmName("ftmwifysmgijhnow")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The namespace of a Kubernetes Resource.
*/
@JvmName("vaabbviyynmhoiuy")
public suspend fun namespace(`value`: Output) {
this.namespace = value
}
/**
* @param value The name of a Kubernetes Resource.
*/
@JvmName("miscqgynrrcmwbcx")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The namespace of a Kubernetes Resource.
*/
@JvmName("rttbioefgkewqwvc")
public suspend fun namespace(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.namespace = mapped
}
internal fun build(): BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs =
BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs(
name = name ?: throw PulumiNullFieldException("name"),
namespace = namespace ?: throw PulumiNullFieldException("namespace"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy