![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.eventgrid.kotlin.inputs.SystemTopicEventSubscriptionStorageQueueEndpointArgs.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.SystemTopicEventSubscriptionStorageQueueEndpointArgs.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 SystemTopicEventSubscriptionStorageQueueEndpointArgs(
public val queueMessageTimeToLiveInSeconds: Output? = null,
public val queueName: Output,
public val storageAccountId: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.eventgrid.inputs.SystemTopicEventSubscriptionStorageQueueEndpointArgs =
com.pulumi.azure.eventgrid.inputs.SystemTopicEventSubscriptionStorageQueueEndpointArgs.builder()
.queueMessageTimeToLiveInSeconds(queueMessageTimeToLiveInSeconds?.applyValue({ args0 -> args0 }))
.queueName(queueName.applyValue({ args0 -> args0 }))
.storageAccountId(storageAccountId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SystemTopicEventSubscriptionStorageQueueEndpointArgs].
*/
@PulumiTagMarker
public class SystemTopicEventSubscriptionStorageQueueEndpointArgsBuilder 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("mcosgwrgtioyrsti")
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("gcpbpcemvblfrlon")
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("incijyltyurutbyp")
public suspend fun storageAccountId(`value`: Output) {
this.storageAccountId = value
}
/**
* @param value Storage queue message time to live in seconds.
*/
@JvmName("mrflkpryhdwinjlq")
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("ctenblmaepcyinnr")
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("vfgxsuercrqhhrls")
public suspend fun storageAccountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.storageAccountId = mapped
}
internal fun build(): SystemTopicEventSubscriptionStorageQueueEndpointArgs =
SystemTopicEventSubscriptionStorageQueueEndpointArgs(
queueMessageTimeToLiveInSeconds = queueMessageTimeToLiveInSeconds,
queueName = queueName ?: throw PulumiNullFieldException("queueName"),
storageAccountId = storageAccountId ?: throw PulumiNullFieldException("storageAccountId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy