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

com.pulumi.awsnative.licensemanager.kotlin.outputs.GetGrantResult.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.licensemanager.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property grantArn Arn of the grant.
 * @property grantName Name for the created Grant.
 * @property homeRegion Home region for the created grant.
 * @property licenseArn License Arn for the grant.
 * @property version The version of the grant.
 */
public data class GetGrantResult(
    public val grantArn: String? = null,
    public val grantName: String? = null,
    public val homeRegion: String? = null,
    public val licenseArn: String? = null,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.licensemanager.outputs.GetGrantResult): GetGrantResult = GetGrantResult(
            grantArn = javaType.grantArn().map({ args0 -> args0 }).orElse(null),
            grantName = javaType.grantName().map({ args0 -> args0 }).orElse(null),
            homeRegion = javaType.homeRegion().map({ args0 -> args0 }).orElse(null),
            licenseArn = javaType.licenseArn().map({ args0 -> args0 }).orElse(null),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy