com.pulumi.cloudflare.kotlin.inputs.AddressMapMembershipArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.AddressMapMembershipArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property canDelete Controls whether the membership can be deleted via the API or not.
* @property identifier Identifier of the account or zone.
* @property kind The type of the membership.
*/
public data class AddressMapMembershipArgs(
public val canDelete: Output? = null,
public val identifier: Output,
public val kind: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.AddressMapMembershipArgs =
com.pulumi.cloudflare.inputs.AddressMapMembershipArgs.builder()
.canDelete(canDelete?.applyValue({ args0 -> args0 }))
.identifier(identifier.applyValue({ args0 -> args0 }))
.kind(kind.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AddressMapMembershipArgs].
*/
@PulumiTagMarker
public class AddressMapMembershipArgsBuilder internal constructor() {
private var canDelete: Output? = null
private var identifier: Output? = null
private var kind: Output? = null
/**
* @param value Controls whether the membership can be deleted via the API or not.
*/
@JvmName("iswodwqerwrcypvo")
public suspend fun canDelete(`value`: Output) {
this.canDelete = value
}
/**
* @param value Identifier of the account or zone.
*/
@JvmName("pqdqbpvyfcrdbbug")
public suspend fun identifier(`value`: Output) {
this.identifier = value
}
/**
* @param value The type of the membership.
*/
@JvmName("fikfneubgwyprwem")
public suspend fun kind(`value`: Output) {
this.kind = value
}
/**
* @param value Controls whether the membership can be deleted via the API or not.
*/
@JvmName("crkhibavjbfrxstt")
public suspend fun canDelete(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.canDelete = mapped
}
/**
* @param value Identifier of the account or zone.
*/
@JvmName("cmtwjuoqfmipwxlg")
public suspend fun identifier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.identifier = mapped
}
/**
* @param value The type of the membership.
*/
@JvmName("xoqjmvjkucwxgofs")
public suspend fun kind(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kind = mapped
}
internal fun build(): AddressMapMembershipArgs = AddressMapMembershipArgs(
canDelete = canDelete,
identifier = identifier ?: throw PulumiNullFieldException("identifier"),
kind = kind ?: throw PulumiNullFieldException("kind"),
)
}