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

com.pulumi.aws.elasticache.kotlin.outputs.ServerlessCacheCacheUsageLimitsDataStorage.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.elasticache.kotlin.outputs

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

/**
 *
 * @property maximum The upper limit for data storage the cache is set to use. Must be between 1 and 5,000.
 * @property minimum The lower limit for data storage the cache is set to use. Must be between 1 and 5,000.
 * @property unit The unit that the storage is measured in, in GB.
 */
public data class ServerlessCacheCacheUsageLimitsDataStorage(
    public val maximum: Int? = null,
    public val minimum: Int? = null,
    public val unit: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.elasticache.outputs.ServerlessCacheCacheUsageLimitsDataStorage): ServerlessCacheCacheUsageLimitsDataStorage = ServerlessCacheCacheUsageLimitsDataStorage(
            maximum = javaType.maximum().map({ args0 -> args0 }).orElse(null),
            minimum = javaType.minimum().map({ args0 -> args0 }).orElse(null),
            unit = javaType.unit(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy