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

com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatasetContentDeliveryRuleDestinationArgs.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.inputs

import com.pulumi.awsnative.iotanalytics.inputs.DatasetContentDeliveryRuleDestinationArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property iotEventsDestinationConfiguration Configuration information for delivery of dataset contents to AWS IoT Events .
 * @property s3DestinationConfiguration Configuration information for delivery of dataset contents to Amazon S3.
 */
public data class DatasetContentDeliveryRuleDestinationArgs(
    public val iotEventsDestinationConfiguration: Output? = null,
    public val s3DestinationConfiguration: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.DatasetContentDeliveryRuleDestinationArgs =
        com.pulumi.awsnative.iotanalytics.inputs.DatasetContentDeliveryRuleDestinationArgs.builder()
            .iotEventsDestinationConfiguration(
                iotEventsDestinationConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .s3DestinationConfiguration(
                s3DestinationConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DatasetContentDeliveryRuleDestinationArgs].
 */
@PulumiTagMarker
public class DatasetContentDeliveryRuleDestinationArgsBuilder internal constructor() {
    private var iotEventsDestinationConfiguration:
        Output? = null

    private var s3DestinationConfiguration: Output? = null

    /**
     * @param value Configuration information for delivery of dataset contents to AWS IoT Events .
     */
    @JvmName("cnhvbcjcbygfsyff")
    public suspend fun iotEventsDestinationConfiguration(`value`: Output) {
        this.iotEventsDestinationConfiguration = value
    }

    /**
     * @param value Configuration information for delivery of dataset contents to Amazon S3.
     */
    @JvmName("oswbwvnjhaichmsc")
    public suspend fun s3DestinationConfiguration(`value`: Output) {
        this.s3DestinationConfiguration = value
    }

    /**
     * @param value Configuration information for delivery of dataset contents to AWS IoT Events .
     */
    @JvmName("jusuxlefvaybmnqc")
    public suspend fun iotEventsDestinationConfiguration(`value`: DatasetIotEventsDestinationConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.iotEventsDestinationConfiguration = mapped
    }

    /**
     * @param argument Configuration information for delivery of dataset contents to AWS IoT Events .
     */
    @JvmName("gobbsvxjaqdaowly")
    public suspend fun iotEventsDestinationConfiguration(argument: suspend DatasetIotEventsDestinationConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DatasetIotEventsDestinationConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.iotEventsDestinationConfiguration = mapped
    }

    /**
     * @param value Configuration information for delivery of dataset contents to Amazon S3.
     */
    @JvmName("ehtjneydudeldyqf")
    public suspend fun s3DestinationConfiguration(`value`: DatasetS3DestinationConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3DestinationConfiguration = mapped
    }

    /**
     * @param argument Configuration information for delivery of dataset contents to Amazon S3.
     */
    @JvmName("ojqiddgsbjroytaj")
    public suspend fun s3DestinationConfiguration(argument: suspend DatasetS3DestinationConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DatasetS3DestinationConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.s3DestinationConfiguration = mapped
    }

    internal fun build(): DatasetContentDeliveryRuleDestinationArgs =
        DatasetContentDeliveryRuleDestinationArgs(
            iotEventsDestinationConfiguration = iotEventsDestinationConfiguration,
            s3DestinationConfiguration = s3DestinationConfiguration,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy