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

com.pulumi.azurenative.scheduler.kotlin.inputs.ServiceBusBrokeredMessagePropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.scheduler.kotlin.inputs

import com.pulumi.azurenative.scheduler.inputs.ServiceBusBrokeredMessagePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property contentType Gets or sets the content type.
 * @property correlationId Gets or sets the correlation ID.
 * @property forcePersistence Gets or sets the force persistence.
 * @property label Gets or sets the label.
 * @property messageId Gets or sets the message ID.
 * @property partitionKey Gets or sets the partition key.
 * @property replyTo Gets or sets the reply to.
 * @property replyToSessionId Gets or sets the reply to session ID.
 * @property scheduledEnqueueTimeUtc Gets or sets the scheduled enqueue time UTC.
 * @property sessionId Gets or sets the session ID.
 * @property timeToLive Gets or sets the time to live.
 * @property to Gets or sets the to.
 * @property viaPartitionKey Gets or sets the via partition key.
 */
public data class ServiceBusBrokeredMessagePropertiesArgs(
    public val contentType: Output? = null,
    public val correlationId: Output? = null,
    public val forcePersistence: Output? = null,
    public val label: Output? = null,
    public val messageId: Output? = null,
    public val partitionKey: Output? = null,
    public val replyTo: Output? = null,
    public val replyToSessionId: Output? = null,
    public val scheduledEnqueueTimeUtc: Output? = null,
    public val sessionId: Output? = null,
    public val timeToLive: Output? = null,
    public val to: Output? = null,
    public val viaPartitionKey: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.scheduler.inputs.ServiceBusBrokeredMessagePropertiesArgs =
        com.pulumi.azurenative.scheduler.inputs.ServiceBusBrokeredMessagePropertiesArgs.builder()
            .contentType(contentType?.applyValue({ args0 -> args0 }))
            .correlationId(correlationId?.applyValue({ args0 -> args0 }))
            .forcePersistence(forcePersistence?.applyValue({ args0 -> args0 }))
            .label(label?.applyValue({ args0 -> args0 }))
            .messageId(messageId?.applyValue({ args0 -> args0 }))
            .partitionKey(partitionKey?.applyValue({ args0 -> args0 }))
            .replyTo(replyTo?.applyValue({ args0 -> args0 }))
            .replyToSessionId(replyToSessionId?.applyValue({ args0 -> args0 }))
            .scheduledEnqueueTimeUtc(scheduledEnqueueTimeUtc?.applyValue({ args0 -> args0 }))
            .sessionId(sessionId?.applyValue({ args0 -> args0 }))
            .timeToLive(timeToLive?.applyValue({ args0 -> args0 }))
            .to(to?.applyValue({ args0 -> args0 }))
            .viaPartitionKey(viaPartitionKey?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServiceBusBrokeredMessagePropertiesArgs].
 */
@PulumiTagMarker
public class ServiceBusBrokeredMessagePropertiesArgsBuilder internal constructor() {
    private var contentType: Output? = null

    private var correlationId: Output? = null

    private var forcePersistence: Output? = null

    private var label: Output? = null

    private var messageId: Output? = null

    private var partitionKey: Output? = null

    private var replyTo: Output? = null

    private var replyToSessionId: Output? = null

    private var scheduledEnqueueTimeUtc: Output? = null

    private var sessionId: Output? = null

    private var timeToLive: Output? = null

    private var to: Output? = null

    private var viaPartitionKey: Output? = null

    /**
     * @param value Gets or sets the content type.
     */
    @JvmName("jueimpxcrtyedhde")
    public suspend fun contentType(`value`: Output) {
        this.contentType = value
    }

    /**
     * @param value Gets or sets the correlation ID.
     */
    @JvmName("gxxveyevshqyktxv")
    public suspend fun correlationId(`value`: Output) {
        this.correlationId = value
    }

    /**
     * @param value Gets or sets the force persistence.
     */
    @JvmName("qcxeprwwqrqwefgt")
    public suspend fun forcePersistence(`value`: Output) {
        this.forcePersistence = value
    }

    /**
     * @param value Gets or sets the label.
     */
    @JvmName("bsmvpmijwpvslian")
    public suspend fun label(`value`: Output) {
        this.label = value
    }

    /**
     * @param value Gets or sets the message ID.
     */
    @JvmName("pknwrwweposvybjx")
    public suspend fun messageId(`value`: Output) {
        this.messageId = value
    }

    /**
     * @param value Gets or sets the partition key.
     */
    @JvmName("bijfpxcsvtehigsy")
    public suspend fun partitionKey(`value`: Output) {
        this.partitionKey = value
    }

    /**
     * @param value Gets or sets the reply to.
     */
    @JvmName("jcxgrvqqtkntinei")
    public suspend fun replyTo(`value`: Output) {
        this.replyTo = value
    }

    /**
     * @param value Gets or sets the reply to session ID.
     */
    @JvmName("actwhokbukhfpoox")
    public suspend fun replyToSessionId(`value`: Output) {
        this.replyToSessionId = value
    }

    /**
     * @param value Gets or sets the scheduled enqueue time UTC.
     */
    @JvmName("lplmipqtrcbgugnd")
    public suspend fun scheduledEnqueueTimeUtc(`value`: Output) {
        this.scheduledEnqueueTimeUtc = value
    }

    /**
     * @param value Gets or sets the session ID.
     */
    @JvmName("esjschrxuyvtjxbw")
    public suspend fun sessionId(`value`: Output) {
        this.sessionId = value
    }

    /**
     * @param value Gets or sets the time to live.
     */
    @JvmName("sjjycikakdvqkqwh")
    public suspend fun timeToLive(`value`: Output) {
        this.timeToLive = value
    }

    /**
     * @param value Gets or sets the to.
     */
    @JvmName("ndomggkyaukkevny")
    public suspend fun to(`value`: Output) {
        this.to = value
    }

    /**
     * @param value Gets or sets the via partition key.
     */
    @JvmName("aoorldgukxkqbsbc")
    public suspend fun viaPartitionKey(`value`: Output) {
        this.viaPartitionKey = value
    }

    /**
     * @param value Gets or sets the content type.
     */
    @JvmName("rexvgmjxnbotoxck")
    public suspend fun contentType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.contentType = mapped
    }

    /**
     * @param value Gets or sets the correlation ID.
     */
    @JvmName("wkbfcmigvnjcynlk")
    public suspend fun correlationId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.correlationId = mapped
    }

    /**
     * @param value Gets or sets the force persistence.
     */
    @JvmName("pinepgfoyymoabvf")
    public suspend fun forcePersistence(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.forcePersistence = mapped
    }

    /**
     * @param value Gets or sets the label.
     */
    @JvmName("ssgnpykqvjkgkspa")
    public suspend fun label(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.label = mapped
    }

    /**
     * @param value Gets or sets the message ID.
     */
    @JvmName("ctnllvmlrnqmhvyn")
    public suspend fun messageId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.messageId = mapped
    }

    /**
     * @param value Gets or sets the partition key.
     */
    @JvmName("roggonyxivfagumf")
    public suspend fun partitionKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.partitionKey = mapped
    }

    /**
     * @param value Gets or sets the reply to.
     */
    @JvmName("aalxuqxnxrrmvdbn")
    public suspend fun replyTo(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.replyTo = mapped
    }

    /**
     * @param value Gets or sets the reply to session ID.
     */
    @JvmName("ybiycpgpgeqpcajv")
    public suspend fun replyToSessionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.replyToSessionId = mapped
    }

    /**
     * @param value Gets or sets the scheduled enqueue time UTC.
     */
    @JvmName("tdgtdomxjlfxswkj")
    public suspend fun scheduledEnqueueTimeUtc(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scheduledEnqueueTimeUtc = mapped
    }

    /**
     * @param value Gets or sets the session ID.
     */
    @JvmName("yurpojbtrcmrfley")
    public suspend fun sessionId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sessionId = mapped
    }

    /**
     * @param value Gets or sets the time to live.
     */
    @JvmName("bgtgabhdcnbrrkdo")
    public suspend fun timeToLive(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.timeToLive = mapped
    }

    /**
     * @param value Gets or sets the to.
     */
    @JvmName("iawgwnbaxeatiwee")
    public suspend fun to(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.to = mapped
    }

    /**
     * @param value Gets or sets the via partition key.
     */
    @JvmName("eqgqhhbylxrvwlby")
    public suspend fun viaPartitionKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.viaPartitionKey = mapped
    }

    internal fun build(): ServiceBusBrokeredMessagePropertiesArgs =
        ServiceBusBrokeredMessagePropertiesArgs(
            contentType = contentType,
            correlationId = correlationId,
            forcePersistence = forcePersistence,
            label = label,
            messageId = messageId,
            partitionKey = partitionKey,
            replyTo = replyTo,
            replyToSessionId = replyToSessionId,
            scheduledEnqueueTimeUtc = scheduledEnqueueTimeUtc,
            sessionId = sessionId,
            timeToLive = timeToLive,
            to = to,
            viaPartitionKey = viaPartitionKey,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy