com.pulumi.nomad.kotlin.outputs.AclPolicyJobAcl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-nomad-kotlin Show documentation
Show all versions of pulumi-nomad-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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),
)
}
}