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

com.pulumi.awsnative.panorama.kotlin.outputs.GetApplicationInstanceResult.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.panorama.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.panorama.kotlin.enums.ApplicationInstanceHealthStatus
import com.pulumi.awsnative.panorama.kotlin.enums.ApplicationInstanceStatus
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property applicationInstanceId The application instance's ID.
 * @property arn The application instance's ARN.
 * @property createdTime The application instance's created time.
 * @property defaultRuntimeContextDeviceName The application instance's default runtime context device name.
 * @property healthStatus The application instance's health status.
 * @property lastUpdatedTime The application instance's last updated time.
 * @property status The application instance's status.
 * @property statusDescription The application instance's status description.
 * @property tags Tags for the application instance.
 */
public data class GetApplicationInstanceResult(
    public val applicationInstanceId: String? = null,
    public val arn: String? = null,
    public val createdTime: Int? = null,
    public val defaultRuntimeContextDeviceName: String? = null,
    public val healthStatus: ApplicationInstanceHealthStatus? = null,
    public val lastUpdatedTime: Int? = null,
    public val status: ApplicationInstanceStatus? = null,
    public val statusDescription: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.panorama.outputs.GetApplicationInstanceResult): GetApplicationInstanceResult = GetApplicationInstanceResult(
            applicationInstanceId = javaType.applicationInstanceId().map({ args0 -> args0 }).orElse(null),
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
            defaultRuntimeContextDeviceName = javaType.defaultRuntimeContextDeviceName().map({ args0 ->
                args0
            }).orElse(null),
            healthStatus = javaType.healthStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.panorama.kotlin.enums.ApplicationInstanceHealthStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            lastUpdatedTime = javaType.lastUpdatedTime().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.panorama.kotlin.enums.ApplicationInstanceStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            statusDescription = javaType.statusDescription().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy