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

io.burkard.cdk.services.pinpoint.cfnInAppTemplate.InAppMessageContentProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.pinpoint.cfnInAppTemplate

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object InAppMessageContentProperty {

  def apply(
    backgroundColor: Option[String] = None,
    headerConfig: Option[software.amazon.awscdk.services.pinpoint.CfnInAppTemplate.HeaderConfigProperty] = None,
    secondaryBtn: Option[software.amazon.awscdk.services.pinpoint.CfnInAppTemplate.ButtonConfigProperty] = None,
    bodyConfig: Option[software.amazon.awscdk.services.pinpoint.CfnInAppTemplate.BodyConfigProperty] = None,
    imageUrl: Option[String] = None,
    primaryBtn: Option[software.amazon.awscdk.services.pinpoint.CfnInAppTemplate.ButtonConfigProperty] = None
  ): software.amazon.awscdk.services.pinpoint.CfnInAppTemplate.InAppMessageContentProperty =
    (new software.amazon.awscdk.services.pinpoint.CfnInAppTemplate.InAppMessageContentProperty.Builder)
      .backgroundColor(backgroundColor.orNull)
      .headerConfig(headerConfig.orNull)
      .secondaryBtn(secondaryBtn.orNull)
      .bodyConfig(bodyConfig.orNull)
      .imageUrl(imageUrl.orNull)
      .primaryBtn(primaryBtn.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy