
com.pulumi.gcp.sql.kotlin.inputs.DatabaseInstanceSettingsSqlServerAuditConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.sql.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.sql.inputs.DatabaseInstanceSettingsSqlServerAuditConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bucket The name of the destination bucket (e.g., gs://mybucket).
* @property retentionInterval How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
* @property uploadInterval How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
*/
public data class DatabaseInstanceSettingsSqlServerAuditConfigArgs(
public val bucket: Output? = null,
public val retentionInterval: Output? = null,
public val uploadInterval: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.sql.inputs.DatabaseInstanceSettingsSqlServerAuditConfigArgs = com.pulumi.gcp.sql.inputs.DatabaseInstanceSettingsSqlServerAuditConfigArgs.builder()
.bucket(bucket?.applyValue({ args0 -> args0 }))
.retentionInterval(retentionInterval?.applyValue({ args0 -> args0 }))
.uploadInterval(uploadInterval?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatabaseInstanceSettingsSqlServerAuditConfigArgs].
*/
@PulumiTagMarker
public class DatabaseInstanceSettingsSqlServerAuditConfigArgsBuilder internal constructor() {
private var bucket: Output? = null
private var retentionInterval: Output? = null
private var uploadInterval: Output? = null
/**
* @param value The name of the destination bucket (e.g., gs://mybucket).
*/
@JvmName("blcuvqdadkvnlqkk")
public suspend fun bucket(`value`: Output) {
this.bucket = value
}
/**
* @param value How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
*/
@JvmName("pknsiiljhpaqtcmt")
public suspend fun retentionInterval(`value`: Output) {
this.retentionInterval = value
}
/**
* @param value How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
*/
@JvmName("ajhvtekwobrdkvsr")
public suspend fun uploadInterval(`value`: Output) {
this.uploadInterval = value
}
/**
* @param value The name of the destination bucket (e.g., gs://mybucket).
*/
@JvmName("mnkvckbpquhrmbii")
public suspend fun bucket(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.bucket = mapped
}
/**
* @param value How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
*/
@JvmName("frbgqrkwrdjodmrc")
public suspend fun retentionInterval(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.retentionInterval = mapped
}
/**
* @param value How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
*/
@JvmName("lgjhglviejectlxr")
public suspend fun uploadInterval(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.uploadInterval = mapped
}
internal fun build(): DatabaseInstanceSettingsSqlServerAuditConfigArgs =
DatabaseInstanceSettingsSqlServerAuditConfigArgs(
bucket = bucket,
retentionInterval = retentionInterval,
uploadInterval = uploadInterval,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy