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

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

package com.pulumi.nomad.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property group Group
 * @property jobId Job
 * @property namespace Namespace
 * @property task Task
 */
public data class AclPolicyJobAcl(
    public val group: String? = null,
    public val jobId: String,
    public val namespace: String? = null,
    public val task: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.nomad.outputs.AclPolicyJobAcl): AclPolicyJobAcl =
            AclPolicyJobAcl(
                group = javaType.group().map({ args0 -> args0 }).orElse(null),
                jobId = javaType.jobId(),
                namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
                task = javaType.task().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy