io.burkard.cdk.services.pinpoint.cfnCampaign.DefaultButtonConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.pinpoint.cfnCampaign
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DefaultButtonConfigurationProperty {
def apply(
backgroundColor: Option[String] = None,
buttonAction: Option[String] = None,
textColor: Option[String] = None,
text: Option[String] = None,
borderRadius: Option[Number] = None,
link: Option[String] = None
): software.amazon.awscdk.services.pinpoint.CfnCampaign.DefaultButtonConfigurationProperty =
(new software.amazon.awscdk.services.pinpoint.CfnCampaign.DefaultButtonConfigurationProperty.Builder)
.backgroundColor(backgroundColor.orNull)
.buttonAction(buttonAction.orNull)
.textColor(textColor.orNull)
.text(text.orNull)
.borderRadius(borderRadius.orNull)
.link(link.orNull)
.build()
}