
com.pulumi.awsnative.pinpoint.kotlin.outputs.InAppTemplateButtonConfig.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.pinpoint.kotlin.outputs
import kotlin.Suppress
/**
*
* @property android Optional button configuration to use for in-app messages sent to Android devices. This button configuration overrides the default button configuration.
* @property defaultConfig Specifies the default behavior of a button that appears in an in-app message. You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.
* @property ios Optional button configuration to use for in-app messages sent to iOS devices. This button configuration overrides the default button configuration.
* @property web Optional button configuration to use for in-app messages sent to web applications. This button configuration overrides the default button configuration.
*/
public data class InAppTemplateButtonConfig(
public val android: InAppTemplateOverrideButtonConfiguration? = null,
public val defaultConfig: InAppTemplateDefaultButtonConfiguration? = null,
public val ios: InAppTemplateOverrideButtonConfiguration? = null,
public val web: InAppTemplateOverrideButtonConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pinpoint.outputs.InAppTemplateButtonConfig): InAppTemplateButtonConfig = InAppTemplateButtonConfig(
android = javaType.android().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pinpoint.kotlin.outputs.InAppTemplateOverrideButtonConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
defaultConfig = javaType.defaultConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pinpoint.kotlin.outputs.InAppTemplateDefaultButtonConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
ios = javaType.ios().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pinpoint.kotlin.outputs.InAppTemplateOverrideButtonConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
web = javaType.web().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pinpoint.kotlin.outputs.InAppTemplateOverrideButtonConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy