com.pulumi.awsnative.connectcampaigns.kotlin.CampaignArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.connectcampaigns.kotlin
import com.pulumi.awsnative.connectcampaigns.CampaignArgs.builder
import com.pulumi.awsnative.connectcampaigns.kotlin.inputs.CampaignDialerConfigArgs
import com.pulumi.awsnative.connectcampaigns.kotlin.inputs.CampaignDialerConfigArgsBuilder
import com.pulumi.awsnative.connectcampaigns.kotlin.inputs.CampaignOutboundCallConfigArgs
import com.pulumi.awsnative.connectcampaigns.kotlin.inputs.CampaignOutboundCallConfigArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::ConnectCampaigns::Campaign Resource Type
* @property connectInstanceArn Amazon Connect Instance Arn
* @property dialerConfig Contains information about the dialer configuration.
* @property name Amazon Connect Campaign Name
* @property outboundCallConfig Contains information about the outbound call configuration.
* @property tags One or more tags.
*/
public data class CampaignArgs(
public val connectInstanceArn: Output? = null,
public val dialerConfig: Output? = null,
public val name: Output? = null,
public val outboundCallConfig: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connectcampaigns.CampaignArgs =
com.pulumi.awsnative.connectcampaigns.CampaignArgs.builder()
.connectInstanceArn(connectInstanceArn?.applyValue({ args0 -> args0 }))
.dialerConfig(dialerConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.outboundCallConfig(
outboundCallConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CampaignArgs].
*/
@PulumiTagMarker
public class CampaignArgsBuilder internal constructor() {
private var connectInstanceArn: Output? = null
private var dialerConfig: Output? = null
private var name: Output? = null
private var outboundCallConfig: Output? = null
private var tags: Output>? = null
/**
* @param value Amazon Connect Instance Arn
*/
@JvmName("rablfnaaecwxgpcs")
public suspend fun connectInstanceArn(`value`: Output) {
this.connectInstanceArn = value
}
/**
* @param value Contains information about the dialer configuration.
*/
@JvmName("pmwjcrqbmykfqpcx")
public suspend fun dialerConfig(`value`: Output) {
this.dialerConfig = value
}
/**
* @param value Amazon Connect Campaign Name
*/
@JvmName("xppdeggorbwducgo")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Contains information about the outbound call configuration.
*/
@JvmName("ccvqtfreqavtvsep")
public suspend fun outboundCallConfig(`value`: Output) {
this.outboundCallConfig = value
}
/**
* @param value One or more tags.
*/
@JvmName("jcxvhqddxuauyynv")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("spnomneufskfyxvq")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values One or more tags.
*/
@JvmName("uwhywpysnrownqdp")
public suspend fun tags(values: List