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

com.pulumi.nomad.kotlin.outputs.GetAclRolesAclRole.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: 2.4.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.nomad.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property description `(string)` - The description of the ACL Role.
 * @property id `(string)` - The ACL Role unique identifier.
 * @property name `(string)` - Unique name of the ACL role.
 * @property policies `(set)` - The policies applied to the role.
 */
public data class GetAclRolesAclRole(
    public val description: String,
    public val id: String,
    public val name: String,
    public val policies: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.nomad.outputs.GetAclRolesAclRole): GetAclRolesAclRole =
            GetAclRolesAclRole(
                description = javaType.description(),
                id = javaType.id(),
                name = javaType.name(),
                policies = javaType.policies().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.nomad.kotlin.outputs.GetAclRolesAclRolePolicy.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy