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

com.pulumi.azurenative.devices.kotlin.inputs.IotHubPropertiesDeviceStreamsArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.devices.kotlin.inputs

import com.pulumi.azurenative.devices.inputs.IotHubPropertiesDeviceStreamsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * The device streams properties of iothub.
 * @property streamingEndpoints List of Device Streams Endpoints.
 */
public data class IotHubPropertiesDeviceStreamsArgs(
    public val streamingEndpoints: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.devices.inputs.IotHubPropertiesDeviceStreamsArgs =
        com.pulumi.azurenative.devices.inputs.IotHubPropertiesDeviceStreamsArgs.builder()
            .streamingEndpoints(
                streamingEndpoints?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            ).build()
}

/**
 * Builder for [IotHubPropertiesDeviceStreamsArgs].
 */
@PulumiTagMarker
public class IotHubPropertiesDeviceStreamsArgsBuilder internal constructor() {
    private var streamingEndpoints: Output>? = null

    /**
     * @param value List of Device Streams Endpoints.
     */
    @JvmName("krfvxxfffbvhvody")
    public suspend fun streamingEndpoints(`value`: Output>) {
        this.streamingEndpoints = value
    }

    @JvmName("ursxjyxwnpwnsgso")
    public suspend fun streamingEndpoints(vararg values: Output) {
        this.streamingEndpoints = Output.all(values.asList())
    }

    /**
     * @param values List of Device Streams Endpoints.
     */
    @JvmName("vokiifvasawhkuam")
    public suspend fun streamingEndpoints(values: List>) {
        this.streamingEndpoints = Output.all(values)
    }

    /**
     * @param value List of Device Streams Endpoints.
     */
    @JvmName("becuclpnhotemjlk")
    public suspend fun streamingEndpoints(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.streamingEndpoints = mapped
    }

    /**
     * @param values List of Device Streams Endpoints.
     */
    @JvmName("llubvjabrsgxgixy")
    public suspend fun streamingEndpoints(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.streamingEndpoints = mapped
    }

    internal fun build(): IotHubPropertiesDeviceStreamsArgs = IotHubPropertiesDeviceStreamsArgs(
        streamingEndpoints = streamingEndpoints,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy