
com.pulumi.azurenative.dataprotection.kotlin.inputs.AzureOperationalStoreParametersArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.dataprotection.kotlin.inputs
import com.pulumi.azurenative.dataprotection.inputs.AzureOperationalStoreParametersArgs.builder
import com.pulumi.azurenative.dataprotection.kotlin.enums.DataStoreTypes
import com.pulumi.core.Either
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
/**
* Parameters for Operational-Tier DataStore
* @property dataStoreType type of datastore; Operational/Vault/Archive
* @property objectType Type of the specific object - used for deserializing
* Expected value is 'AzureOperationalStoreParameters'.
* @property resourceGroupId Gets or sets the Snapshot Resource Group Uri.
*/
public data class AzureOperationalStoreParametersArgs(
public val dataStoreType: Output>,
public val objectType: Output,
public val resourceGroupId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dataprotection.inputs.AzureOperationalStoreParametersArgs =
com.pulumi.azurenative.dataprotection.inputs.AzureOperationalStoreParametersArgs.builder()
.dataStoreType(
dataStoreType.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.objectType(objectType.applyValue({ args0 -> args0 }))
.resourceGroupId(resourceGroupId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureOperationalStoreParametersArgs].
*/
@PulumiTagMarker
public class AzureOperationalStoreParametersArgsBuilder internal constructor() {
private var dataStoreType: Output>? = null
private var objectType: Output? = null
private var resourceGroupId: Output? = null
/**
* @param value type of datastore; Operational/Vault/Archive
*/
@JvmName("qkccoxapsndlwivo")
public suspend fun dataStoreType(`value`: Output>) {
this.dataStoreType = value
}
/**
* @param value Type of the specific object - used for deserializing
* Expected value is 'AzureOperationalStoreParameters'.
*/
@JvmName("qfwgpbxeyxnqxaxl")
public suspend fun objectType(`value`: Output) {
this.objectType = value
}
/**
* @param value Gets or sets the Snapshot Resource Group Uri.
*/
@JvmName("mplhrlskljyxtkjv")
public suspend fun resourceGroupId(`value`: Output) {
this.resourceGroupId = value
}
/**
* @param value type of datastore; Operational/Vault/Archive
*/
@JvmName("mtpaqawkdjfigxpp")
public suspend fun dataStoreType(`value`: Either) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dataStoreType = mapped
}
/**
* @param value type of datastore; Operational/Vault/Archive
*/
@JvmName("hiiyxerquibxknxy")
public fun dataStoreType(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dataStoreType = mapped
}
/**
* @param value type of datastore; Operational/Vault/Archive
*/
@JvmName("jdetanirxtckruey")
public fun dataStoreType(`value`: DataStoreTypes) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dataStoreType = mapped
}
/**
* @param value Type of the specific object - used for deserializing
* Expected value is 'AzureOperationalStoreParameters'.
*/
@JvmName("dscmeetncvcyftab")
public suspend fun objectType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.objectType = mapped
}
/**
* @param value Gets or sets the Snapshot Resource Group Uri.
*/
@JvmName("mvgegnqbrxgnrhjq")
public suspend fun resourceGroupId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupId = mapped
}
internal fun build(): AzureOperationalStoreParametersArgs = AzureOperationalStoreParametersArgs(
dataStoreType = dataStoreType ?: throw PulumiNullFieldException("dataStoreType"),
objectType = objectType ?: throw PulumiNullFieldException("objectType"),
resourceGroupId = resourceGroupId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy