com.pulumi.azurenative.workloads.kotlin.inputs.SettingsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.workloads.kotlin.inputs
import com.pulumi.azurenative.workloads.inputs.SettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Common settings field for backup management
* @property isCompression Workload compression flag. This has been added so that 'isSqlCompression'
* will be deprecated once clients upgrade to consider this flag.
* @property issqlcompression SQL compression flag
* @property timeZone TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
*/
public data class SettingsArgs(
public val isCompression: Output? = null,
public val issqlcompression: Output? = null,
public val timeZone: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.workloads.inputs.SettingsArgs =
com.pulumi.azurenative.workloads.inputs.SettingsArgs.builder()
.isCompression(isCompression?.applyValue({ args0 -> args0 }))
.issqlcompression(issqlcompression?.applyValue({ args0 -> args0 }))
.timeZone(timeZone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SettingsArgs].
*/
@PulumiTagMarker
public class SettingsArgsBuilder internal constructor() {
private var isCompression: Output? = null
private var issqlcompression: Output? = null
private var timeZone: Output? = null
/**
* @param value Workload compression flag. This has been added so that 'isSqlCompression'
* will be deprecated once clients upgrade to consider this flag.
*/
@JvmName("ewpcmucgkqaatdnw")
public suspend fun isCompression(`value`: Output) {
this.isCompression = value
}
/**
* @param value SQL compression flag
*/
@JvmName("jnrydcjnlsrgquaa")
public suspend fun issqlcompression(`value`: Output) {
this.issqlcompression = value
}
/**
* @param value TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
*/
@JvmName("sqkwxatteqssunwl")
public suspend fun timeZone(`value`: Output) {
this.timeZone = value
}
/**
* @param value Workload compression flag. This has been added so that 'isSqlCompression'
* will be deprecated once clients upgrade to consider this flag.
*/
@JvmName("usncbtsaqgeyeqtd")
public suspend fun isCompression(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isCompression = mapped
}
/**
* @param value SQL compression flag
*/
@JvmName("hulvlrqnorcjnrvw")
public suspend fun issqlcompression(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.issqlcompression = mapped
}
/**
* @param value TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
*/
@JvmName("aqnifqpgovcwrgou")
public suspend fun timeZone(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeZone = mapped
}
internal fun build(): SettingsArgs = SettingsArgs(
isCompression = isCompression,
issqlcompression = issqlcompression,
timeZone = timeZone,
)
}