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

com.pulumi.gcp.bigtable.kotlin.outputs.GCPolicyMaxAge.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigtable.kotlin.outputs

import kotlin.Deprecated
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property days Number of days before applying GC policy.
 * @property duration Duration before applying GC policy (ex. "8h"). This is required when `days` isn't set
 * -----
 */
public data class GCPolicyMaxAge(
    @Deprecated(
        message = """
  Deprecated in favor of duration
  """,
    )
    public val days: Int? = null,
    public val duration: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigtable.outputs.GCPolicyMaxAge): GCPolicyMaxAge =
            GCPolicyMaxAge(
                days = javaType.days().map({ args0 -> args0 }).orElse(null),
                duration = javaType.duration().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy