![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.streamanalytics.kotlin.outputs.GetInputResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-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.azurenative.streamanalytics.kotlin.outputs
import com.pulumi.core.Either
import kotlin.String
import kotlin.Suppress
/**
* An input object, containing all information associated with the named input. All inputs are contained under a streaming job.
* @property id Resource Id
* @property name Resource name
* @property properties The properties that are associated with an input. Required on PUT (CreateOrReplace) requests.
* @property type Resource type
*/
public data class GetInputResult(
public val id: String,
public val name: String? = null,
public val properties: Either,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.streamanalytics.outputs.GetInputResult): GetInputResult = GetInputResult(
id = javaType.id(),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
properties = javaType.properties().transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.streamanalytics.kotlin.outputs.ReferenceInputPropertiesResponse.Companion.toKotlin(args0)
})
},
{ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.streamanalytics.kotlin.outputs.StreamInputPropertiesResponse.Companion.toKotlin(args0)
})
},
),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy