![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.eventgrid.kotlin.inputs.EventHubEventSubscriptionDestinationArgs.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.eventgrid.kotlin.inputs
import com.pulumi.azurenative.eventgrid.inputs.EventHubEventSubscriptionDestinationArgs.builder
import com.pulumi.core.Either
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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Information about the event hub destination for an event subscription.
* @property deliveryAttributeMappings Delivery attribute details.
* @property endpointType Type of the endpoint for the event subscription destination.
* Expected value is 'EventHub'.
* @property resourceId The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
*/
public data class EventHubEventSubscriptionDestinationArgs(
public val deliveryAttributeMappings: Output>>? =
null,
public val endpointType: Output,
public val resourceId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.eventgrid.inputs.EventHubEventSubscriptionDestinationArgs =
com.pulumi.azurenative.eventgrid.inputs.EventHubEventSubscriptionDestinationArgs.builder()
.deliveryAttributeMappings(
deliveryAttributeMappings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform({ args0 -> args0.let({ args0 -> args0.toJava() }) }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
})
}),
)
.endpointType(endpointType.applyValue({ args0 -> args0 }))
.resourceId(resourceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventHubEventSubscriptionDestinationArgs].
*/
@PulumiTagMarker
public class EventHubEventSubscriptionDestinationArgsBuilder internal constructor() {
private var deliveryAttributeMappings:
Output>>? =
null
private var endpointType: Output? = null
private var resourceId: Output? = null
/**
* @param value Delivery attribute details.
*/
@JvmName("yhasvxoexrvahehj")
public suspend fun deliveryAttributeMappings(`value`: Output>>) {
this.deliveryAttributeMappings = value
}
@JvmName("bccjgtxsksomqfpk")
public suspend fun deliveryAttributeMappings(vararg values: Output>) {
this.deliveryAttributeMappings = Output.all(values.asList())
}
/**
* @param values Delivery attribute details.
*/
@JvmName("ddxljkwpevmrpctn")
public suspend fun deliveryAttributeMappings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy