io.burkard.cdk.services.ses.actions.BounceTemplate.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ses.actions
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object BounceTemplate {
def apply(
message: String,
smtpReplyCode: String,
statusCode: Option[String] = None
): software.amazon.awscdk.services.ses.actions.BounceTemplate =
software.amazon.awscdk.services.ses.actions.BounceTemplate.Builder
.create()
.message(message)
.smtpReplyCode(smtpReplyCode)
.statusCode(statusCode.orNull)
.build()
}