com.pulumi.azure.eventgrid.kotlin.inputs.EventSubscriptionStorageQueueEndpointArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.eventgrid.kotlin.inputs
import com.pulumi.azure.eventgrid.inputs.EventSubscriptionStorageQueueEndpointArgs.builder
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property queueMessageTimeToLiveInSeconds Storage queue message time to live in seconds.
* @property queueName Specifies the name of the storage queue where the Event Subscription will receive events.
* @property storageAccountId Specifies the id of the storage account id where the storage queue is located.
*/
public data class EventSubscriptionStorageQueueEndpointArgs(
public val queueMessageTimeToLiveInSeconds: Output? = null,
public val queueName: Output,
public val storageAccountId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.eventgrid.inputs.EventSubscriptionStorageQueueEndpointArgs =
com.pulumi.azure.eventgrid.inputs.EventSubscriptionStorageQueueEndpointArgs.builder()
.queueMessageTimeToLiveInSeconds(queueMessageTimeToLiveInSeconds?.applyValue({ args0 -> args0 }))
.queueName(queueName.applyValue({ args0 -> args0 }))
.storageAccountId(storageAccountId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventSubscriptionStorageQueueEndpointArgs].
*/
@PulumiTagMarker
public class EventSubscriptionStorageQueueEndpointArgsBuilder internal constructor() {
private var queueMessageTimeToLiveInSeconds: Output? = null
private var queueName: Output? = null
private var storageAccountId: Output? = null
/**
* @param value Storage queue message time to live in seconds.
*/
@JvmName("fmhwakvduawadryv")
public suspend fun queueMessageTimeToLiveInSeconds(`value`: Output) {
this.queueMessageTimeToLiveInSeconds = value
}
/**
* @param value Specifies the name of the storage queue where the Event Subscription will receive events.
*/
@JvmName("bgqvrkagdfnyggud")
public suspend fun queueName(`value`: Output) {
this.queueName = value
}
/**
* @param value Specifies the id of the storage account id where the storage queue is located.
*/
@JvmName("wkflowitunhaegyr")
public suspend fun storageAccountId(`value`: Output) {
this.storageAccountId = value
}
/**
* @param value Storage queue message time to live in seconds.
*/
@JvmName("smqhmegdmrowflbv")
public suspend fun queueMessageTimeToLiveInSeconds(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.queueMessageTimeToLiveInSeconds = mapped
}
/**
* @param value Specifies the name of the storage queue where the Event Subscription will receive events.
*/
@JvmName("ryordhtrltcmnnfh")
public suspend fun queueName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.queueName = mapped
}
/**
* @param value Specifies the id of the storage account id where the storage queue is located.
*/
@JvmName("mjihdckndrxucofp")
public suspend fun storageAccountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.storageAccountId = mapped
}
internal fun build(): EventSubscriptionStorageQueueEndpointArgs =
EventSubscriptionStorageQueueEndpointArgs(
queueMessageTimeToLiveInSeconds = queueMessageTimeToLiveInSeconds,
queueName = queueName ?: throw PulumiNullFieldException("queueName"),
storageAccountId = storageAccountId ?: throw PulumiNullFieldException("storageAccountId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy