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

com.pulumi.awsnative.iotanalytics.kotlin.outputs.GetChannelResult.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.iotanalytics.kotlin.outputs

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

/**
 *
 * @property channelStorage Where channel data is stored.
 * @property id
 * @property retentionPeriod How long, in days, message data is kept for the channel.
 * @property tags Metadata which can be used to manage the channel.
 * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
 */
public data class GetChannelResult(
    public val channelStorage: ChannelStorage? = null,
    public val id: String? = null,
    public val retentionPeriod: ChannelRetentionPeriod? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotanalytics.outputs.GetChannelResult): GetChannelResult = GetChannelResult(
            channelStorage = javaType.channelStorage().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotanalytics.kotlin.outputs.ChannelStorage.Companion.toKotlin(args0)
                })
            }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            retentionPeriod = javaType.retentionPeriod().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotanalytics.kotlin.outputs.ChannelRetentionPeriod.Companion.toKotlin(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