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

com.pulumi.azure.backup.kotlin.inputs.PolicyVMInstantRestoreResourceGroupArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.backup.kotlin.inputs

import com.pulumi.azure.backup.inputs.PolicyVMInstantRestoreResourceGroupArgs.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

/**
 *
 * @property prefix The prefix for the `instant_restore_resource_group` name.
 * @property suffix The suffix for the `instant_restore_resource_group` name.
 */
public data class PolicyVMInstantRestoreResourceGroupArgs(
    public val prefix: Output,
    public val suffix: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.backup.inputs.PolicyVMInstantRestoreResourceGroupArgs =
        com.pulumi.azure.backup.inputs.PolicyVMInstantRestoreResourceGroupArgs.builder()
            .prefix(prefix.applyValue({ args0 -> args0 }))
            .suffix(suffix?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PolicyVMInstantRestoreResourceGroupArgs].
 */
@PulumiTagMarker
public class PolicyVMInstantRestoreResourceGroupArgsBuilder internal constructor() {
    private var prefix: Output? = null

    private var suffix: Output? = null

    /**
     * @param value The prefix for the `instant_restore_resource_group` name.
     */
    @JvmName("bbvyxbdtianoofce")
    public suspend fun prefix(`value`: Output) {
        this.prefix = value
    }

    /**
     * @param value The suffix for the `instant_restore_resource_group` name.
     */
    @JvmName("cptvkaeesesvqgyf")
    public suspend fun suffix(`value`: Output) {
        this.suffix = value
    }

    /**
     * @param value The prefix for the `instant_restore_resource_group` name.
     */
    @JvmName("tlsblbfyuelvnlgf")
    public suspend fun prefix(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.prefix = mapped
    }

    /**
     * @param value The suffix for the `instant_restore_resource_group` name.
     */
    @JvmName("cxtkinanscspcwfw")
    public suspend fun suffix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.suffix = mapped
    }

    internal fun build(): PolicyVMInstantRestoreResourceGroupArgs =
        PolicyVMInstantRestoreResourceGroupArgs(
            prefix = prefix ?: throw PulumiNullFieldException("prefix"),
            suffix = suffix,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy