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

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

package com.pulumi.awsnative.connect.kotlin.outputs

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

/**
 *
 * @property actions The actions of the view in an array.
 * @property description The description of the view.
 * @property instanceArn The Amazon Resource Name (ARN) of the instance.
 * @property name The name of the view.
 * @property tags One or more tags.
 * @property template The template of the view as JSON.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Connect::View` for more information about the expected schema for this property.
 * @property viewArn The Amazon Resource Name (ARN) of the view.
 * @property viewContentSha256 The view content hash.
 * @property viewId The view id of the view.
 */
public data class GetViewResult(
    public val actions: List? = null,
    public val description: String? = null,
    public val instanceArn: String? = null,
    public val name: String? = null,
    public val tags: List? = null,
    public val template: Any? = null,
    public val viewArn: String? = null,
    public val viewContentSha256: String? = null,
    public val viewId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.GetViewResult): GetViewResult = GetViewResult(
            actions = javaType.actions().map({ args0 -> args0 }),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            instanceArn = javaType.instanceArn().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            template = javaType.template().map({ args0 -> args0 }).orElse(null),
            viewArn = javaType.viewArn().map({ args0 -> args0 }).orElse(null),
            viewContentSha256 = javaType.viewContentSha256().map({ args0 -> args0 }).orElse(null),
            viewId = javaType.viewId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy