![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.licensemanager.kotlin.outputs.LicenseEntitlement.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.licensemanager.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property allowCheckIn Indicates whether check-ins are allowed.
* @property maxCount Maximum entitlement count. Use if the unit is not None.
* @property name Entitlement name.
* @property overage Indicates whether overages are allowed.
* @property unit Entitlement unit.
* @property value Entitlement resource. Use only if the unit is None.
*/
public data class LicenseEntitlement(
public val allowCheckIn: Boolean? = null,
public val maxCount: Int? = null,
public val name: String,
public val overage: Boolean? = null,
public val unit: String,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.licensemanager.outputs.LicenseEntitlement): LicenseEntitlement = LicenseEntitlement(
allowCheckIn = javaType.allowCheckIn().map({ args0 -> args0 }).orElse(null),
maxCount = javaType.maxCount().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
overage = javaType.overage().map({ args0 -> args0 }).orElse(null),
unit = javaType.unit(),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy