com.pulumi.gcp.healthcare.kotlin.inputs.DicomStoreNotificationConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.healthcare.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.healthcare.inputs.DicomStoreNotificationConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property pubsubTopic The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client.
* PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message.
* It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message
* was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a
* project. [email protected] must have publisher permissions on the given
* Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
*/
public data class DicomStoreNotificationConfigArgs(
public val pubsubTopic: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.healthcare.inputs.DicomStoreNotificationConfigArgs =
com.pulumi.gcp.healthcare.inputs.DicomStoreNotificationConfigArgs.builder()
.pubsubTopic(pubsubTopic.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DicomStoreNotificationConfigArgs].
*/
@PulumiTagMarker
public class DicomStoreNotificationConfigArgsBuilder internal constructor() {
private var pubsubTopic: Output? = null
/**
* @param value The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client.
* PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message.
* It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message
* was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a
* project. [email protected] must have publisher permissions on the given
* Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
*/
@JvmName("nipffwvxiiamapln")
public suspend fun pubsubTopic(`value`: Output) {
this.pubsubTopic = value
}
/**
* @param value The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client.
* PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message.
* It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message
* was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a
* project. [email protected] must have publisher permissions on the given
* Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.
*/
@JvmName("caymywdobphmclat")
public suspend fun pubsubTopic(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.pubsubTopic = mapped
}
internal fun build(): DicomStoreNotificationConfigArgs = DicomStoreNotificationConfigArgs(
pubsubTopic = pubsubTopic ?: throw PulumiNullFieldException("pubsubTopic"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy