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

com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowOperationResponse.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.iotoperations.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * DataFlow Operation properties. NOTE - One only method is allowed to be used for one entry.
 * @property builtInTransformationSettings Transformation configuration.
 * @property destinationSettings Destination configuration.
 * @property name Optional user provided name of the transformation.
 * @property operationType Type of operation.
 * @property sourceSettings Source configuration.
 */
public data class DataFlowOperationResponse(
    public val builtInTransformationSettings: DataFlowBuiltInTransformationResponse? = null,
    public val destinationSettings: DataFlowDestinationOperationResponse,
    public val name: String? = null,
    public val operationType: String,
    public val sourceSettings: DataFlowSourceOperationResponse,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.DataFlowOperationResponse): DataFlowOperationResponse = DataFlowOperationResponse(
            builtInTransformationSettings = javaType.builtInTransformationSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowBuiltInTransformationResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            destinationSettings = javaType.destinationSettings().let({ args0 ->
                com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowDestinationOperationResponse.Companion.toKotlin(args0)
            }),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            operationType = javaType.operationType(),
            sourceSettings = javaType.sourceSettings().let({ args0 ->
                com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowSourceOperationResponse.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy