![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.omics.kotlin.outputs.GetWorkflowResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.omics.kotlin.outputs
import com.pulumi.awsnative.omics.kotlin.enums.WorkflowStatus
import com.pulumi.awsnative.omics.kotlin.enums.WorkflowType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property arn The ARN for the workflow.
* @property creationTime When the workflow was created.
* @property description The parameter's description.
* @property id The workflow's ID.
* @property name The workflow's name.
* @property status The workflow's status.
* @property tags Tags for the workflow.
* @property type The workflow's type.
*/
public data class GetWorkflowResult(
public val arn: String? = null,
public val creationTime: String? = null,
public val description: String? = null,
public val id: String? = null,
public val name: String? = null,
public val status: WorkflowStatus? = null,
public val tags: Map? = null,
public val type: WorkflowType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.omics.outputs.GetWorkflowResult): GetWorkflowResult = GetWorkflowResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.omics.kotlin.enums.WorkflowStatus.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
type = javaType.type().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.omics.kotlin.enums.WorkflowType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy