![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotanalytics.kotlin.ChannelArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin
import com.pulumi.awsnative.iotanalytics.ChannelArgs.builder
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.ChannelRetentionPeriodArgs
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.ChannelRetentionPeriodArgsBuilder
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.ChannelStorageArgs
import com.pulumi.awsnative.iotanalytics.kotlin.inputs.ChannelStorageArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::IoTAnalytics::Channel
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property channelName The name of the channel.
* @property channelStorage Where channel data is stored.
* @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 ChannelArgs(
public val channelName: Output? = null,
public val channelStorage: Output? = null,
public val retentionPeriod: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.ChannelArgs =
com.pulumi.awsnative.iotanalytics.ChannelArgs.builder()
.channelName(channelName?.applyValue({ args0 -> args0 }))
.channelStorage(channelStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.retentionPeriod(retentionPeriod?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ChannelArgs].
*/
@PulumiTagMarker
public class ChannelArgsBuilder internal constructor() {
private var channelName: Output? = null
private var channelStorage: Output? = null
private var retentionPeriod: Output? = null
private var tags: Output>? = null
/**
* @param value The name of the channel.
*/
@JvmName("ymjvdhrexwdeseky")
public suspend fun channelName(`value`: Output) {
this.channelName = value
}
/**
* @param value Where channel data is stored.
*/
@JvmName("syqktpmxpldrsyum")
public suspend fun channelStorage(`value`: Output) {
this.channelStorage = value
}
/**
* @param value How long, in days, message data is kept for the channel.
*/
@JvmName("ajcdtownnjkqjqrg")
public suspend fun retentionPeriod(`value`: Output) {
this.retentionPeriod = value
}
/**
* @param value 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) .
*/
@JvmName("hrmklplkmhyhqkil")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("gojrpltlyykmvaoc")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values 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) .
*/
@JvmName("ufmatbvxnliclpdm")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy