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

com.pulumi.awsnative.deadline.kotlin.outputs.GetFarmResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.deadline.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The Amazon Resource Name (ARN) assigned to the farm.
 * @property description A description of the farm that helps identify what the farm is used for.
 * @property displayName The display name of the farm.
 * > This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
 * @property farmId The farm ID.
 * @property tags An array of key-value pairs to apply to this resource.
 */
public data class GetFarmResult(
    public val arn: String? = null,
    public val description: String? = null,
    public val displayName: String? = null,
    public val farmId: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.deadline.outputs.GetFarmResult): GetFarmResult = GetFarmResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            farmId = javaType.farmId().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy