![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.licensemanager.kotlin.outputs.GetLicenseResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.licensemanager.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property beneficiary Beneficiary of the license.
* @property consumptionConfiguration Configuration for consumption of the license.
* @property entitlements License entitlements.
* @property homeRegion Home region for the created license.
* @property issuer License issuer.
* @property licenseArn Amazon Resource Name is a unique name for each resource.
* @property licenseMetadata License metadata.
* @property licenseName Name for the created license.
* @property productName Product name for the created license.
* @property productSku ProductSKU of the license.
* @property validity Date and time range during which the license is valid, in ISO8601-UTC format.
* @property version The version of the license.
*/
public data class GetLicenseResult(
public val beneficiary: String? = null,
public val consumptionConfiguration: LicenseConsumptionConfiguration? = null,
public val entitlements: List? = null,
public val homeRegion: String? = null,
public val issuer: LicenseIssuerData? = null,
public val licenseArn: String? = null,
public val licenseMetadata: List? = null,
public val licenseName: String? = null,
public val productName: String? = null,
public val productSku: String? = null,
public val validity: LicenseValidityDateFormat? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.licensemanager.outputs.GetLicenseResult): GetLicenseResult = GetLicenseResult(
beneficiary = javaType.beneficiary().map({ args0 -> args0 }).orElse(null),
consumptionConfiguration = javaType.consumptionConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.licensemanager.kotlin.outputs.LicenseConsumptionConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
entitlements = javaType.entitlements().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.licensemanager.kotlin.outputs.LicenseEntitlement.Companion.toKotlin(args0)
})
}),
homeRegion = javaType.homeRegion().map({ args0 -> args0 }).orElse(null),
issuer = javaType.issuer().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.licensemanager.kotlin.outputs.LicenseIssuerData.Companion.toKotlin(args0)
})
}).orElse(null),
licenseArn = javaType.licenseArn().map({ args0 -> args0 }).orElse(null),
licenseMetadata = javaType.licenseMetadata().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.licensemanager.kotlin.outputs.LicenseMetadata.Companion.toKotlin(args0)
})
}),
licenseName = javaType.licenseName().map({ args0 -> args0 }).orElse(null),
productName = javaType.productName().map({ args0 -> args0 }).orElse(null),
productSku = javaType.productSku().map({ args0 -> args0 }).orElse(null),
validity = javaType.validity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.licensemanager.kotlin.outputs.LicenseValidityDateFormat.Companion.toKotlin(args0)
})
}).orElse(null),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy