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

com.pulumi.awsnative.connectcampaigns.kotlin.outputs.GetCampaignResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.connectcampaigns.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn Amazon Connect Campaign 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 GetCampaignResult(
    public val arn: String? = null,
    public val dialerConfig: CampaignDialerConfig? = null,
    public val name: String? = null,
    public val outboundCallConfig: CampaignOutboundCallConfig? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connectcampaigns.outputs.GetCampaignResult): GetCampaignResult = GetCampaignResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            dialerConfig = javaType.dialerConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connectcampaigns.kotlin.outputs.CampaignDialerConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            outboundCallConfig = javaType.outboundCallConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connectcampaigns.kotlin.outputs.CampaignOutboundCallConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy