com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatasetQueryActionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin.inputs
import com.pulumi.awsnative.iotanalytics.inputs.DatasetQueryActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
*
* @property filters Pre-filters applied to message data.
* @property sqlQuery An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.
*/
public data class DatasetQueryActionArgs(
public val filters: Output>? = null,
public val sqlQuery: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.DatasetQueryActionArgs =
com.pulumi.awsnative.iotanalytics.inputs.DatasetQueryActionArgs.builder()
.filters(
filters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.sqlQuery(sqlQuery.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetQueryActionArgs].
*/
@PulumiTagMarker
public class DatasetQueryActionArgsBuilder internal constructor() {
private var filters: Output>? = null
private var sqlQuery: Output? = null
/**
* @param value Pre-filters applied to message data.
*/
@JvmName("qonbjxfoyrhjdmoj")
public suspend fun filters(`value`: Output>) {
this.filters = value
}
@JvmName("yyhaqsurqrypeyul")
public suspend fun filters(vararg values: Output) {
this.filters = Output.all(values.asList())
}
/**
* @param values Pre-filters applied to message data.
*/
@JvmName("gofxiuspludcuwtc")
public suspend fun filters(values: List