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

com.pulumi.azurenative.dataprotection.kotlin.inputs.CopyOnExpiryOptionArgs.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.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.dataprotection.kotlin.inputs

import com.pulumi.azurenative.dataprotection.inputs.CopyOnExpiryOptionArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Copy on Expiry Option
 * @property objectType Type of the specific object - used for deserializing
 * Expected value is 'CopyOnExpiryOption'.
 */
public data class CopyOnExpiryOptionArgs(
    public val objectType: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.dataprotection.inputs.CopyOnExpiryOptionArgs =
        com.pulumi.azurenative.dataprotection.inputs.CopyOnExpiryOptionArgs.builder()
            .objectType(objectType.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CopyOnExpiryOptionArgs].
 */
@PulumiTagMarker
public class CopyOnExpiryOptionArgsBuilder internal constructor() {
    private var objectType: Output? = null

    /**
     * @param value Type of the specific object - used for deserializing
     * Expected value is 'CopyOnExpiryOption'.
     */
    @JvmName("nhuqlabgqqvuucic")
    public suspend fun objectType(`value`: Output) {
        this.objectType = value
    }

    /**
     * @param value Type of the specific object - used for deserializing
     * Expected value is 'CopyOnExpiryOption'.
     */
    @JvmName("mxwanbkijuaigjfl")
    public suspend fun objectType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.objectType = mapped
    }

    internal fun build(): CopyOnExpiryOptionArgs = CopyOnExpiryOptionArgs(
        objectType = objectType ?: throw PulumiNullFieldException("objectType"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy