All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.inputs.AddressMapMembershipArgs.kt Maven / Gradle / Ivy

Go to download

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.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("qmyjkdxdleplmpwt")
    public suspend fun canDelete(`value`: Output) {
        this.canDelete = value
    }

    /**
     * @param value Identifier of the account or zone.
     */
    @JvmName("rmwiagqqyqdbgsdi")
    public suspend fun identifier(`value`: Output) {
        this.identifier = value
    }

    /**
     * @param value The type of the membership.
     */
    @JvmName("orqrjwmqgaswxekw")
    public suspend fun kind(`value`: Output) {
        this.kind = value
    }

    /**
     * @param value Controls whether the membership can be deleted via the API or not.
     */
    @JvmName("gajvtnstxphpjohy")
    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("gvduxtjpvavmhnhw")
    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("xembdoypttkiykuj")
    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"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy